Jim Cromie 42d3b83fec [PATCH] hwmon: Allow sensor attributes arrays
This patch refactors SENSOR_DEVICE_ATTR macro.  First it creates a new
macro SENSOR_ATTR() which expands to an initialization expression, then
it uses that in SENSOR_DEVICE_ATTR, which declares and initializes a
struct sensor_device_attribute.

IOW, SENSOR_ATTR() imitates __ATTR() in include/linux/device.h.

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>
2006-03-23 14:21:48 -08:00
..
2006-01-31 03:25:09 -05:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-03-22 00:13:35 +01:00
2006-02-15 15:32:22 -08:00
2006-03-23 07:38:04 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-01-06 08:33:29 -08:00
2006-03-21 13:05:45 -06:00
2006-03-22 14:37:15 +01:00