On Sat, Jul 18, 2009 at 12:39:51PM +0200, Jean Delvare wrote: > On Sat, 18 Jul 2009 10:59:17 +0100, Mark Brown wrote: > > The reason it's formatted like that is that the AUXADC input names match > > the names of the supplies that are being monitored so the second parameter > > is also used to provide a label to userspace. > This isn't how I read the code. I see a look-up table for labels, so the > macro implementation is just a detail which shouldn't matter. Oh, yes, you're right. Originally I'd implemented it the way I describe but changed the code later - I'd forgotten that I'd done so when replying to your mail. I'll send a revised version out on Monday.