diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2007-02-26 03:37:36 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-26 03:37:36 +0100 |
commit | 5130f8627a8215f7b3ab830c42d4bb3910ff4385 (patch) | |
tree | 59d06835c9f5ddedb19f707abac9a61e5b0804a7 /drivers/net/smc9194.h | |
parent | d073fd7f362f2136b0d3a83b89f9b9bf262a67b8 (diff) |
hwmon: Refactor SENSOR_DEVICE_ATTR_2
This patch refactors SENSOR_DEVICE_ATTR_2 macro, following pattern set by
SENSOR_ATTR. First it creates a new macro SENSOR_ATTR_2() which expands
to an initialization expression, then it uses that in SENSOR_DEVICE_ATTR_2,
which declares and initializes a struct sensor_device_attribute_2.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/net/smc9194.h')
0 files changed, 0 insertions, 0 deletions