]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a12159d5f21b18497a67d43362358e562e93e53
tree84498c3c597cd25339c01e011375c82435a6ccc8
parentff88d4b854a240cc5a08eca0e26533c8290b72f8
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