]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitade3b47b0eb875af7ac0e5db08b49e0884eb7722
tree1b5bcc83cd1fb6cac9fd222914545a43e1d7b3d4
parent1d881e85f78287da338107469975a1ecb9e894a8
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