[lm-sensors] [PATCH] hwmon: VRM is not written to registers
Mark M. Hoffman
mhoffman at lightlink.com
Thu Jan 31 14:42:35 CET 2008
Hi Jean:
* Jean Delvare <khali at linux-fr.org> [2007-12-01 11:25:33 +0100]:
> What was true of reading the VRM value is also true of writing it: not
> being a register value, it doesn't need hardware access, so we don't
> need a reference to the i2c client. This allows for a minor code
> cleanup. As gcc appears to be smart enough to simplify the generated
> code by itself, this cleanup only affects the source code, the
> generated binaries are unchanged.
>
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> ---
> drivers/hwmon/adm1025.c | 3 +--
> drivers/hwmon/asb100.c | 6 ++----
> drivers/hwmon/lm85.c | 8 ++------
> drivers/hwmon/lm87.c | 3 +--
> drivers/hwmon/smsc47m192.c | 3 +--
> drivers/hwmon/w83791d.c | 6 ++----
> drivers/hwmon/w83793.c | 8 ++------
> 7 files changed, 11 insertions(+), 26 deletions(-)
>
Applied to hwmon-2.6.git/testing, thanks.
--
Mark M. Hoffman
mhoffman at lightlink.com
More information about the lm-sensors
mailing list