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)
commit8c14d126ae2efbcd094b24e5413b8cbe1d2c01e4
treeac4ee5056c7889dda4a08d248f655f8b43e10c6b
parent91bba688016be0ba87ecb9d80d6490c2ebc63b0d
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