diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-07-14 17:33:14 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2021-08-22 10:28:11 +0200 |
commit | 585ba602b1ff76dd6e7fbd488a8c5921ae422305 (patch) | |
tree | 0bd75b54ab5cdbfbce85b5c2aefdc628c90ddd86 /drivers/watchdog/lantiq_wdt.c | |
parent | 11648fa1886606f42ca7b7d6eb1ab219de7071f2 (diff) |
watchdog: max63xx_wdt: Add device tree probing
This adds device tree probing to the MAX63xx driver so it can be
instantiated from the device tree. We use the generic fwnode-based
method to get to the match data and clean up by constifying the
functions as the match is indeed a const.
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210714153314.1004147-2-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/lantiq_wdt.c')
0 files changed, 0 insertions, 0 deletions