]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ad7418) Add device tree probing
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jan 2019 21:06:37 +0000 (22:06 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 25 Feb 2019 17:06:00 +0000 (09:06 -0800)
commit14b61d1948d1cd737f6793b53577df9dd48c4c2a
treeb7d61da87083ab5f66f5885449ff2793c446a717
parent8abef878d376309a2ac6bf2a367e19920433c37e
hwmon: (ad7418) Add device tree probing

This adds device tree probing for the AD7418 hwmon sensor.
When device tree is not enabled, stub functions will kick
in.

Tested on the Gateway Cambria GW2358-4.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[groeck: Added missing {} to terminate ad7418_dt_ids]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ad7418.c