convert voltage dev-attrs from macro-initialization to array initialization, and call device_create_file() in loop on array [jimc at harpo pset]$ diffstat 16-vin-arrys-loop pc87360.c | 128 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 63 insertions(+), 65 deletions(-) Signed-off-by: Jim Cromie <jcromie at divsol.com> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 16-vin-arrys-loop Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050801/d10dd9bc/attachment.pl