]> git.baikalelectronics.ru Git - kernel.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)
commit4777ad77f38bc8fe08d9832cf2809bf3e97f307c
tree2d4851d8d17ac9576ca8dbd223ee378700475bbe
parent4b13bf52cf7aaeb51800393f11c6f0223fece558
[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