hwmon: (w83781d) Match on device tree compatibles
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Jul 2021 23:05:43 +0000 (01:05 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:26 +0000 (14:54 -0700)
commit2284ed9ffc062d1755a5299e2cc6896d2cfba000
tree5ad92f59637789caf6fa95fda849a1e2e85606d7
parent542613a25eff333488c331dd92066388a6bf95bb
hwmon: (w83781d) Match on device tree compatibles

I2C devices should match on the proper compatible string.
This is already used in one device tree in the kernel (MIPS)
so let's add the matches.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210729230543.2853485-2-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83781d.c