[PATCH] hwmon: VRM is not written to registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux