watchdog: omap: put struct watchdog_device into driver data
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 27 Apr 2015 09:23:00 +0000 (11:23 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 22 Jun 2015 13:54:05 +0000 (15:54 +0200)
This way only a single allocation is needed (per device). Also this
simplifies the data structure used by the driver because there is no
need anymore to link from one struct to the other (by means of
watchdog_{set,get}_drvdata).

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c

Simple merge