hwmon: (ads7828) Accept optional parameters from device tree
authorSam Povilus <kernel.development@povil.us>
Thu, 30 Mar 2017 03:46:37 +0000 (21:46 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Apr 2017 14:01:53 +0000 (07:01 -0700)
commita8ddfea09566c37aabe70fbb6d07ff232982c9f4
tree84498c3c597cd25339c01e011375c82435a6ccc8
parenta4811b6cb4069eb2f17ffebcd29f2e5b0f76ee31
hwmon: (ads7828) Accept optional parameters from device tree

Adding the ability for the ads7828 and ads7830 to use device tree to
get optional parameters instead of using platform devices. This allows
people using custom boards to also use the ads7828 in a non-default manner.

Signed-off-by: Sam Povilus <kernel.development@povil.us>
[groeck: Fixed whitespace errors in ads7828.txt]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ads7828.txt [new file with mode: 0644]
drivers/hwmon/ads7828.c