platform/x86: ideapad-laptop: Switch touchpad attribute to be RO

For now let's restrict touchpad attribute to be read only.
We might revisit this in the future though.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko 2017-05-07 14:28:30 +03:00
parent 36ac0d439b
commit 7f36314599

View File

@ -453,7 +453,8 @@ static ssize_t touchpad_store(struct device *dev,
return count;
}
static DEVICE_ATTR_RW(touchpad);
/* Switch to RO for now: It might be revisited in the future */
static DEVICE_ATTR_RO(touchpad);
static struct attribute *ideapad_attributes[] = {
&dev_attr_camera_power.attr,