hwmon: (mcp3021) add devicetree support
authorClemens Gruber <clemens.gruber@pqgruber.com>
Wed, 9 Nov 2016 21:22:34 +0000 (22:22 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 2 Dec 2016 21:28:12 +0000 (13:28 -0800)
commitf4dc811c16b91ed0a8c9dd5a863409279d14a581
tree6d7f3c8f18f9185e598195e947c4b11cf73ab16b
parentb502a926d29ed23eb7f6d61a89f6fb5d9b742b3e
hwmon: (mcp3021) add devicetree support

Support setting the reference voltage from the device tree.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mcp3021.c