]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: iio: tsl2583: combine sysfs documentation
authorBrian Masney <masneyb@onstation.org>
Sat, 12 Nov 2016 18:19:27 +0000 (13:19 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:24 +0000 (13:07 +0000)
There are two separate files describing the tsl2583 sysfs attributes.
Combine the two files into one. Updated the name of the sysfs attributes
to match the current ABI.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Suggested-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/light/sysfs-bus-iio-light-tsl2583
drivers/staging/iio/Documentation/sysfs-bus-iio-light-tsl2583 [deleted file]

index 470f7ad9c0730b26d44f3bcca559408c0bc8c38c..a2e19964e87e9013223b8f8e2bf76b699bdb774e 100644 (file)
@@ -1,6 +1,20 @@
-What:          /sys/bus/iio/devices/device[n]/in_illuminance0_calibrate
+What:          /sys/bus/iio/devices/device[n]/in_illuminance_calibrate
 KernelVersion: 2.6.37
 Contact:       linux-iio@vger.kernel.org
 Description:
                This property causes an internal calibration of the als gain trim
                value which is later used in calculating illuminance in lux.
+
+What:          /sys/bus/iio/devices/device[n]/in_illuminance_lux_table
+KernelVersion: 2.6.37
+Contact:       linux-iio@vger.kernel.org
+Description:
+               This property gets/sets the table of coefficients
+               used in calculating illuminance in lux.
+
+What:          /sys/bus/iio/devices/device[n]/in_illuminance_input_target
+KernelVersion: 2.6.37
+Contact:       linux-iio@vger.kernel.org
+Description:
+               This property is the known externally illuminance (in lux).
+               It is used in the process of calibrating the device accuracy.
diff --git a/drivers/staging/iio/Documentation/sysfs-bus-iio-light-tsl2583 b/drivers/staging/iio/Documentation/sysfs-bus-iio-light-tsl2583
deleted file mode 100644 (file)
index 660781d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-What:          /sys/bus/iio/devices/device[n]/lux_table
-KernelVersion: 2.6.37
-Contact:       linux-iio@vger.kernel.org
-Description:
-               This property gets/sets the table of coefficients
-               used in calculating illuminance in lux.
-
-What:          /sys/bus/iio/devices/device[n]/illuminance0_calibrate
-KernelVersion: 2.6.37
-Contact:       linux-iio@vger.kernel.org
-Description:
-               This property causes an internal calibration of the als gain trim
-               value which is later used in calculating illuminance in lux.
-
-What:          /sys/bus/iio/devices/device[n]/illuminance0_input_target
-KernelVersion: 2.6.37
-Contact:       linux-iio@vger.kernel.org
-Description:
-               This property is the known externally illuminance (in lux).
-               It is used in the process of calibrating the device accuracy.