]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (lm75) Prepare to support per-chip resolution and sample time
authorJean Delvare <khali@linux-fr.org>
Mon, 18 Mar 2013 22:57:25 +0000 (09:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Mar 2013 22:57:25 +0000 (09:57 +1100)
commitb75641009620c493edb3bc9483b7916ad77c306b
tree5c68998607cf1ea05612af7777863653a160c376
parent8163b265f156abdd5dd5a5becbe42b3f32334841
hwmon: (lm75) Prepare to support per-chip resolution and sample time

Prepare the lm75 driver to support per-chip resolution and sample
time. For now we only make the code generic enough to support it, but
we still use the same, unchanged resolution (9-bit) and sample time
(1.5 s) for all chips.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c