]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hwmon: (1/3) pc87360 driver update
authorJim Cromie <jim.cromie@gmail.com>
Fri, 2 Sep 2005 20:52:43 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:26:54 +0000 (09:26 -0700)
commitf0986bd8f390392948db85dac526fb238752372b
tree2d4851d8d17ac9576ca8dbd223ee378700475bbe
parenta89923fff79f8eeed0ccdf51e13453754e48a71e
[PATCH] hwmon: (1/3) pc87360 driver update

Use the new "dynamic sysfs callbacks", as introduced recently by Yani
Ioannou, in pc87360.

Note that this change isn't indiscriminate.  Only those attributes that
would benefit from having an index (i.e., those which are
macro-repeated) have been converted.

This significantly shrinks the size of the module:
  before:  49235  drivers/hwmon/pc87360.ko
  after:   32532  drivers/hwmon/pc87360.ko

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/pc87360.c