hwmon: (core) Add support for string attributes to new API
authorGuenter Roeck <linux@roeck-us.net>
Mon, 8 Aug 2016 03:51:25 +0000 (20:51 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 10 Dec 2016 05:54:16 +0000 (21:54 -0800)
commite159ab5cb1afb519601a961405933c61cdd5a56a
tree91cd9bcdfd7910257d29023341a7fdf2fd0007a1
parentf680b2845694a197e7bfc9f56b241f9a3f17296e
hwmon: (core) Add support for string attributes to new API

The new API is so far only suited for data attributes and does not work
well for string attributes, specifically for the 'label' attributes.
Provide a separate callback function for those.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c
include/linux/hwmon.h