]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation/ABI: sysfs-platform-ideapad-laptop: update device attribute paths
authorBarnabás Pőcze <pobrn@protonmail.com>
Wed, 3 Feb 2021 21:57:19 +0000 (21:57 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 09:21:46 +0000 (10:21 +0100)
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")
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-29-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Documentation/ABI/testing/sysfs-platform-ideapad-laptop

index b17688d73922019a36d2f2cc26b6f50b40e5c5b1..5ec0dee9e7074f37f43d223632b47fe0640e638e 100644 (file)
@@ -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 <ike.pan@canonical.com>"
 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 <maxtram95@gmail.com>"
@@ -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 <rrs@debian.org>"
@@ -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 <ezhi99@gmail.com>"