[PATCH 2/3] hwmon: (lm80) De-macro the sysfs callbacks

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

 



Hi Jean:

* Jean Delvare <khali at linux-fr.org> [2008-01-05 15:37:05 +0100]:
> Use standard dynamic sysfs callbacks instead of macro-generated
> functions. This makes the code more readable, and the binary smaller
> (by about 34%).
> 
> As a side note, another benefit of this type of cleanup is that they
> shrink the build time. For example, this cleanup saves about 29% of
> the lm80 driver build time.
> 
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> ---
> Tested using i2c-stub.
> 
>  drivers/hwmon/lm80.c |  245 ++++++++++++++++++++++----------------------------
>  1 file changed, 111 insertions(+), 134 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