All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] local macro
@ 2010-10-06 18:13 Paul Thomas
  2010-10-06 18:23 ` Paul Thomas
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Paul Thomas @ 2010-10-06 18:13 UTC (permalink / raw)
  To: lm-sensors

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@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-10-12  0:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 18:13 [lm-sensors] local macro Paul Thomas
2010-10-06 18:23 ` Paul Thomas
2010-10-06 18:24 ` Jonathan Cameron
2010-10-06 19:31 ` Guenter Roeck
2010-10-06 19:46 ` Paul Thomas
2010-10-06 19:54 ` Paul Thomas
2010-10-06 20:47 ` Guenter Roeck
2010-10-06 21:02 ` Guenter Roeck
2010-10-06 21:29 ` Jean Delvare
2010-10-06 21:32 ` Jean Delvare
2010-10-06 21:45 ` Guenter Roeck
2010-10-06 22:04 ` Paul Thomas
2010-10-07  6:49 ` Jean Delvare
2010-10-07  9:46 ` Jonathan Cameron
2010-10-12  0:32 ` Paul Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.