On 10/21/2011 05:39 PM, Jonathan Cameron wrote: > Internally the fact that say scale is shared across channels is > actually of remarkably little interest. Hence lets not store it. > Numerous devices have weird combinations of channels sharing > scale anyway so it is not as though this was really telling > us much. Note however that we do still use the shared sysfs > attrs thus massively reducing the number of attrs in complex > drivers. > > Side effect is that certain drivers that were abusing this > (mostly my work) needed to do a few more checks on what the > channel they are being queried on actually is. > > This is also helpful for in kernel interfaces where we > just want to query the scale and don't care whether it > is shared with other channels or not. > > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxx> Hi Seems to work. I think it makes sense to submit this one and the other, which removes the bitmask addressing, together. Will you take care of this? Thanks, - Lars -- 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