[PATCH] hwmon: adm9240 driver update - dynamic sysfs
authorGrant Coady <grant_lkml@dodo.com.au>
Fri, 16 Sep 2005 19:32:57 +0000 (05:32 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:05 +0000 (14:02 -0700)
commitc7461a6652f40ce4f8e19d7368c7a807a618fb68
treeb70812c3be404c00d6733c0cf95a8f0bcbab0ab7
parent205cf13e0b57500e2cc6442effa991c1a63f4db7
[PATCH] hwmon: adm9240 driver update - dynamic sysfs

hwmon: adm9240 update 2/2: convert to use 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.

Signed-off-by: Grant Coady <gcoady@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/adm9240.c