hwmon: (lm90) Move 16-bit value read to a separate function
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Oct 2008 15:51:09 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:09 +0000 (17:51 +0200)
commit6388a388ffb720f40fc8046c261252ea2be9c12f
tree1b5bcc83cd1fb6cac9fd222914545a43e1d7b3d4
parent2e532d68a2b3e2aa6b19731501222069735c741c
hwmon: (lm90) Move 16-bit value read to a separate function

Move the code which aggregates two 8-bit register values into a 16-bit
value to a separate function. We'll need to do it a second time soon and
I don't want to duplicate the code.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Martyn Welch <martyn.welch@gefanuc.com>
drivers/hwmon/lm90.c