ABI: sysfs-class-hwmon: rearrange humidity attributes alphabetically
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 17 Nov 2023 06:40:34 +0000 (07:40 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 11 Dec 2023 14:21:00 +0000 (06:21 -0800)
Preliminary step to add the missing humidity attributes in the ABI
documentation.

Adding new elements alphabetically is a common practice that has been
loosely followed in the sysfs-class-hwmon documentation. Since most of
the humidity attributes must be added to the file, a single attribute
needs to be rearranged to reinforce alphabetical order.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20231116-hwmon_abi-v1-1-8bfb7f51145a@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/ABI/testing/sysfs-class-hwmon

index 638f4c6d4ec704478e6dc1c9091a63028bfeeb7d..b998a42add95d456fa119079d79bbdaf7cd577e2 100644 (file)
@@ -887,15 +887,6 @@ Description:
 
                RW
 
-What:          /sys/class/hwmon/hwmonX/humidityY_input
-Description:
-               Humidity
-
-               Unit: milli-percent (per cent mille, pcm)
-
-               RO
-
-
 What:          /sys/class/hwmon/hwmonX/humidityY_enable
 Description:
                Enable or disable the sensors
@@ -908,6 +899,14 @@ Description:
 
                RW
 
+What:          /sys/class/hwmon/hwmonX/humidityY_input
+Description:
+               Humidity
+
+               Unit: milli-percent (per cent mille, pcm)
+
+               RO
+
 What:          /sys/class/hwmon/hwmonX/humidityY_rated_min
 Description:
                Minimum rated humidity.