]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitf4c2965e425ab0adba63d9dcf5351e955fc95b60
treeb7d61da87083ab5f66f5885449ff2793c446a717
parentbadf14ceba5589711f149a48f57c342032e55d03
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