Skip to contentSkip to conversation

Documentation/ABI: sysfs-platform-ideapad-laptop: update device attribute paths

PATCH In review Barnabás Pőcze 1 participant 1 message Feb 3, 2021 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH v3 28/29 Documentation/ABI: sysfs-platform-ideapad-laptop: update device attribute paths

The documentation referred to non-existent device attributes under a non-existent platform device. Update it with the current location of the attributes.

Fixes b5c37b798f2d ("ideapad_laptop: convert ideapad device/driver to platform bus")
Documentation/ABI/testing/sysfs-platform-ideapad-laptop +4 -4
index b17688d73922..5ec0dee9e707 100644
@@ -1,11 +1,11 @@
-What:		/sys/devices/platform/ideapad/camera_power
+What:		/sys/bus/platform/devices/VPC2004:*/camera_power
 Date:		Dec 2010
 KernelVersion:	2.6.37
 Contact:	"Ike Panhc <[email protected]>"
 Description:
 		Control the power of camera module. 1 means on, 0 means off.
 
-What:		/sys/devices/platform/ideapad/fan_mode
+What:		/sys/bus/platform/devices/VPC2004:*/fan_mode
 Date:		June 2012
 KernelVersion:	3.6
 Contact:	"Maxim Mikityanskiy <[email protected]>"
@@ -18,7 +18,7 @@ Description:
 			* 2 -> Dust Cleaning
 			* 4 -> Efficient Thermal Dissipation Mode
 
-What:		/sys/devices/platform/ideapad/touchpad
+What:		/sys/bus/platform/devices/VPC2004:*/touchpad
 Date:		May 2017
 KernelVersion:	4.13
 Contact:	"Ritesh Raj Sarraf <[email protected]>"
@@ -27,7 +27,7 @@ Description:
 			* 1 -> Switched On
 			* 0 -> Switched Off
 
-What:		/sys/bus/pci/devices/<bdf>/<device>/VPC2004:00/fn_lock
+What:		/sys/bus/platform/devices/VPC2004:*/fn_lock
 Date:		May 2018
 KernelVersion:	4.18
 Contact:	"Oleg Keri <[email protected]>"
Signature · 1 line
2.30.0