Skip to content
Commit 3465a224 authored by Guenter Roeck's avatar Guenter Roeck Committed by Jonathan Cameron
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent bb916ebb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment