]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83795) Move register reads to dedicated functions
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
commit17892c303859c5ce8e52d892abb4f78fd0e3136f
treeccfe2095515ca19f484532c34769f1143d54eeb6
parent63c8f4d9955c06c98ecd05528aa80a4975a6b0a5
hwmon: (w83795) Move register reads to dedicated functions

Move initial register reads out of probe, to dedicated functions.
This makes the code clearer, and will be needed if we want to delay
calling these functions until they are needed, or want to call them
periodically.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83795.c