On 19/10/16 14:11, Dan Carpenter wrote: > On Wed, Oct 19, 2016 at 09:08:30AM -0400, Brian Masney wrote: >> On Wed, Oct 19, 2016 at 02:26:27PM +0300, Dan Carpenter wrote: >>> What does illuminance0_ mean? Can we remove that? >> >> I left the names of the existing sysfs attributes intact to not break >> any existing users of the driver. I'm not sure why the original author >> named it that way. > > Ah... Then I defer to your judgement. Will normally be constructed as this via the info_mask stuff. Needed to ensure it's obvious which channel we are referring to in multichannel devices. Convention usually means we use this when something is very channel specific even if it's the only channel. (feels odd otherwise ;) Looks ugly here because of the rather contrived nature of the macros. I'm not keen on that side of them, but then we should hardly ever need to use them anyway so I'm not that bothered! Jonathan > > regards, > dan carpenter > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel