mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	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:
		
							parent
							
								
									36ac0d439b
								
							
						
					
					
						commit
						7f36314599
					
				| @ -453,7 +453,8 @@ static ssize_t touchpad_store(struct device *dev, | |||||||
| 	return count; | 	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[] = { | static struct attribute *ideapad_attributes[] = { | ||||||
| 	&dev_attr_camera_power.attr, | 	&dev_attr_camera_power.attr, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Andy Shevchenko
						Andy Shevchenko