e 42c799763f3b908a554f050c1b8990e5f41bb7ac parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jim Cromie 1136845344 +0100 committer Greg Kroah-Hartman 1143152508 -0800 [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 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman æÛî‘å