summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/iio_hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-20 15:52:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-03-20 21:37:59 +0000
commit3465a22488a47d5f4791876a22fde2bb1720f4cf (patch)
tree0670bfd4df972c122215420a9cc213d62862f39d /drivers/hwmon/iio_hwmon.c
parentbb916ebbeabd18f7dc3c661275d2c9d343f4fa85 (diff)
downloadlinux-3465a22488a47d5f4791876a22fde2bb1720f4cf.tar.gz
linux-3465a22488a47d5f4791876a22fde2bb1720f4cf.tar.bz2
linux-3465a22488a47d5f4791876a22fde2bb1720f4cf.zip
staging/iio: iio_hwmon: Use device tree node name for hwmon name attribute
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 <linux@roeck-us.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/hwmon/iio_hwmon.c')
0 files changed, 0 insertions, 0 deletions