[lm-sensors] [patchset 20/23] pc87360 convert fan & pwm dev-attrs from macro-initialization to array initialization,

Jim Cromie jcromie at divsol.com
Tue Aug 2 01:09:38 CEST 2005


convert fan & pwm dev-attrs from macro-initialization to array 
initialization,
and call device_create_file() in loop on array.

theyre done together cuz they fit together in a single loop


[jimc at harpo pset]$ diffstat 17-fan-pwm-arrys-loop
 pc87360.c |  100 
++++++++++++++++++++++++--------------------------------------
 1 files changed, 40 insertions(+), 60 deletions(-)

Signed-off-by:  Jim Cromie <jcromie at divsol.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17-fan-pwm-arrys-loop
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050801/0095db7a/attachment.ksh>


More information about the lm-sensors mailing list