hwmon: (gl520sm) Put register addresses in arrays
authorJean Delvare <khali@linux-fr.org>
Sun, 4 Nov 2007 22:44:52 +0000 (23:44 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:41 +0000 (20:39 -0500)
commit8b4b0ab41bb0a5e72b6fceb9a7aff303c88960b4
tree2d01ab14c447fe9b415e81a872854930ee1ac614
parentf28dc2f78bbcbf07b8a084fcd89cf6b4256f0664
hwmon: (gl520sm) Put register addresses in arrays

This allows for some code refactoring, making the binary slightly
smaller. This is also required to use dynamic sysfs callbacks for
voltage and temperature files.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/gl520sm.c