Re: [PATCH] staging/iio: iio_hwmon: Use device tree node name for hwmon name attribute

2013-03-20 Thread Guenter Roeck
On Wed, Mar 20, 2013 at 06:28:21PM +, Jonathan Cameron wrote: > On 03/20/2013 03:52 PM, Guenter Roeck wrote: > > So far, all instances of iio_hwmon set their hwmon name attribute > > to "iio_hwmon", which is not very descriptive. Set it to the device tree > > node name if available, and only re

Re: [PATCH] staging/iio: iio_hwmon: Use device tree node name for hwmon name attribute

2013-03-20 Thread Jonathan Cameron
On 03/20/2013 03:52 PM, Guenter Roeck wrote: > So far, all instances of iio_hwmon set their hwmon name attribute > to "iio_hwmon", which is not very descriptive. Set it to the device tree > node name if available, and only revert to iio_hwmon otherwise. > > Signed-off-by: Guenter Roeck > --- > >

[PATCH] staging/iio: iio_hwmon: Use device tree node name for hwmon name attribute

2013-03-20 Thread Guenter Roeck
So far, all instances of iio_hwmon set their hwmon name attribute to "iio_hwmon", which is not very descriptive. Set it to the device tree node name if available, and only revert to iio_hwmon otherwise. Signed-off-by: Guenter Roeck --- Jonathan, can we move this driver out of staging ? I would l