hwmon: (tmp421) ignore non-channel related DT nodes
authorKrzysztof Adamski <krzysztof.adamski@nokia.com>
Thu, 14 Oct 2021 13:11:02 +0000 (15:11 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 15 Oct 2021 22:55:58 +0000 (15:55 -0700)
commit3e4dd2e8bcf2780e5d421a5d9e833b6ac4e70b11
treef22606ca92a0f623677d83faa7a4d6ffbd7b2bb2
parent0ebbd89d4d77be3a6d419b61e3b7033223ede505
hwmon: (tmp421) ignore non-channel related DT nodes

In case the DT contains some nodes not describing the input channels,
ignore them instead of exiting with error.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Link: https://lore.kernel.org/r/8e9e332b18dc2cf545f8e8255157e408d356f916.1634206677.git.krzysztof.adamski@nokia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c