From: Uwe Kleine-König Date: Mon, 27 Apr 2015 09:23:00 +0000 (+0200) Subject: watchdog: omap: put struct watchdog_device into driver data X-Git-Tag: omap-for-v4.2/fixes-rc1^2~49^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2f78268ba583f75d5a67d44b8ef4b1560d6f597;p=pandora-kernel.git 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 Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed