]> git.baikalelectronics.ru Git - kernel.git/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)
commit2736235c1d81b605e555c7862ab2c5d7857b2eec
treedfb412ff564775da37265495e5a58c1a1674ec45
parentd21b22e6183b033ce75327b37e54243a774f687a
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