[lm-sensors] [patchset 18/23] pc87360 refactor SENSOR_DEVICE_ATTR to be array-init friendly

Jim Cromie jcromie at divsol.com
Tue Aug 2 00:55:07 CEST 2005


refactor SENSOR_DEVICE_ATTR to separate the variable declaraion
and initialization from the initialization expression 'assigned' to it,
making it more friendly to array initialization.

[jimc at harpo pset]$ diffstat 15-sda-arry-initializer
 hwmon-sysfs.h |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15-sda-arry-initializer
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050801/bc608ccd/attachment.ksh>


More information about the lm-sensors mailing list