]> err.no Git - linux-2.6/commit
hwmon: (lm80) De-macro the sysfs callbacks
authorJean Delvare <khali@linux-fr.org>
Sat, 5 Jan 2008 14:37:05 +0000 (15:37 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:45 +0000 (20:39 -0500)
commitf8181762a04a3ff7878d3ec5c013bce9c771d4f7
treedfb412ff564775da37265495e5a58c1a1674ec45
parent6cc37ee536bb90c428c8a7cde91f33ffe1fd27bd
hwmon: (lm80) De-macro the sysfs callbacks

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@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm80.c