local macro

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

 



I'm planning a rev of the ads7871 driver. I want to add in the ability
to set the gain on the chip as well as do differential reads. To do
this I'm adding a bunch of SENSOR_DEVICE_ATTR lines. Awhile ago I had
got a suggestion from Jonathan to use a local macro for these
statements. Would that be a macro that looped through calling the
other macro 8 times with values 0-7? Could someone point me to an
example where this is used?

thanks,
Paul

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


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

  Powered by Linux