]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm75) Prepare to support per-chip resolution and sample time
authorJean Delvare <khali@linux-fr.org>
Sat, 4 May 2013 12:49:36 +0000 (14:49 +0200)
committerJean Delvare <khali@endymion.delvare>
Sat, 4 May 2013 12:49:36 +0000 (14:49 +0200)
commit4225603db3397e1c9841a7c784f69b88b2153e49
tree6b082b1f43cc4acc9d255478886c7f7d911660d8
parent1846022cc99b5942295609149d7ffe1da7b28991
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