Commit 7f363145 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 36ac0d43
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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,