]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm73) Add 'update_interval' attribute
authorChris Verges <kg4ysn@gmail.com>
Sat, 5 Jan 2013 09:41:19 +0000 (01:41 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:57:57 +0000 (09:57 -0800)
commit887414f5a17dd6414a97ebab5d566e22a46584f4
treeac4ee5056c7889dda4a08d248f655f8b43e10c6b
parentcf13a621477bdf5c9c47a4c0a8d8e0b92a992445
hwmon: (lm73) Add 'update_interval' attribute

The LM73 supports four A/D conversion resolutions.  The default used by
the existing lm73 driver is the chip's default, 11-bit (0.25 C/LSB).
This patch enables changing of this resolution from userspace via the
update_interval sysfs attribute.  Full details on usage are included in
Documentation/hwmon/lm73.

Signed-off-by: Chris Verges <kg4ysn@gmail.com>
[linux@roeck-us.net: cleanup]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/lm73 [new file with mode: 0644]
drivers/hwmon/lm73.c