commit | d2f78268ba583f75d5a67d44b8ef4b1560d6f597 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Mon Apr 27 11:23:00 2015 +0200 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Jun 22 15:54:05 2015 +0200 |
tree | 1fafadaa8ccc2b4909da788f263fc539e82a9480 | |
parent | a4f741e3e157c3a5c8aea5f2ea62b692fbf17338 [diff] |
watchdog: omap: put struct watchdog_device into driver data 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>