Skip to contentSkip to conversation

hwmon: adm9240 updates

PATCH New Grant Coady 1 participant 1 message Sep 14, 2005

lore
Share & tools
lore
#0 lore raw

cover hwmon: adm9240 updates

Greetings,

This patch series updates the adm9240 driver with some cleanups and conversion to dynamic sysfs.

hwmon: adm9240 update 1/3: whitespace >>> Resend, for complete set <<<

hwmon: adm9240 update 2/3: cleanups

make SCALE function return zero for zero input,
remove i2c read/write wrapper interface,
change kmalloc + memset to kzalloc

hwmon: adm9240 update 3/3: convert to dynamic sysfs accessors

This patch converts adm9240 to use Yani Ioannou's dynamic sysfs callbacks, reducing driver memory footprint from 16312 to 14104 bytes on 2.6.14-rc1, removing the old driver macro mess.

Run tested on Intel SE440BX-2 mobo.

Thanks,
Grant.