hwmon: (w83627hf) De-macro sysfs callback functions
authorJim Cromie <jim.cromie@gmail.com>
Fri, 12 Oct 2007 19:08:00 +0000 (21:08 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Sat, 13 Oct 2007 16:34:53 +0000 (12:34 -0400)
commit07584c762541672e35735b52af031183ca17a5a2
treef384c6e5189fa5dbec12e48d0b31e8d50535ec83
parent569ff1022662a88591b0a89ea316a3c44306d199
hwmon: (w83627hf) De-macro sysfs callback functions

This patch to drivers/hwmon/w83627hf converts many sysfs items from DEVICE_ATTRs
to SENSOR_DEVICE_ATTRs, and replaces macros which expand to define redundant
callbacks, with callbacks which use the SENSOR_DEV.nr to know what to do.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627hf.c