diff options
author | Radu Rendec <rrendec@arista.com> | 2017-10-26 18:10:14 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-12-28 20:45:17 +0100 |
commit | cf73120ba43172e181905133cfcc5711485fd4b3 (patch) | |
tree | fc0682e3333f4531b2b95038a9399ad50b534d92 /drivers/watchdog/max77620_wdt.c | |
parent | watchdog: i6300esb: use the watchdog subsystem (diff) | |
download | linux-cf73120ba43172e181905133cfcc5711485fd4b3.tar.xz linux-cf73120ba43172e181905133cfcc5711485fd4b3.zip |
watchdog: i6300esb: support multiple devices
Support multiple i6300esb devices simultaneously, by removing the single
device restriction in the original design and leveraging the multiple
device support of the watchdog subsystem.
This patch replaces the global definitions of watchdog device data with
a dynamically allocated structure. This structure is allocated during
device probe, so multiple independent structures can be allocated if
multiple devices are probed.
Signed-off-by: Radu Rendec <rrendec@arista.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/max77620_wdt.c')
0 files changed, 0 insertions, 0 deletions