diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2023-02-14 11:39:35 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-03-02 06:51:23 +0100 |
commit | 783c7cb4659b53b5e1b809dac5e8cdf250145919 (patch) | |
tree | 80c696b6bf1be7251e0f194b82c54f33c51610fa /drivers/watchdog/Kconfig | |
parent | dt-bindings: watchdog: mt7621-wdt: add phandle to access system controller re... (diff) | |
download | linux-783c7cb4659b53b5e1b809dac5e8cdf250145919.tar.xz linux-783c7cb4659b53b5e1b809dac5e8cdf250145919.zip |
watchdog: mt7621-wdt: avoid static global declarations
Instead of using static global definitions in driver code, refactor code
introducing a new watchdog driver data structure and use it along the
code.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20230214103936.1061078-5-sergio.paracuellos@gmail.com
[groeck: unsigned -> unsigned int]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/Kconfig')
0 files changed, 0 insertions, 0 deletions