watchdog: f71808e_wdt: dynamically allocate watchdog driver data
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Mon, 9 Aug 2021 16:20:37 +0000 (18:20 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 26 Oct 2021 19:31:05 +0000 (21:31 +0200)
commita7876735f24f7256043967683271e4c631d1e7e7
treeeb4a42bcbd7cd17ad984398718b38c7f952fafb4
parent27e0fe00a5c618571ab1533aec5c48b7200efb09
watchdog: f71808e_wdt: dynamically allocate watchdog driver data

While the driver will only match against a single device, convention is
to dynamically allocate the driver data.

Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1baffdc410d6476cccffe9712cec56350335812a.1628525954.git-series.a.fatoum@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/f71808e_wdt.c