]> 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)
commitbd877a4fc04e22c3ded5c7fbdbffdf2ffca06535
tree84498c3c597cd25339c01e011375c82435a6ccc8
parent7b92a94072743cea87412b2584729baf13bf1670
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