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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.pl 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux