]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: sp805_wdt: Remove unnecessary amba_set_drvdata()
authorMichal Simek <michal.simek@xilinx.com>
Thu, 3 Oct 2013 09:46:30 +0000 (11:46 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Nov 2013 18:37:31 +0000 (19:37 +0100)
commitfb20bdef7b11410652cbaed94eeb84932481237a
treeca9d88cd4bd320c953ed04b449b3556cadb8d332
parent512d4d828b9a0ea7cff222b0a72c5a9aa76ddcc7
watchdog: sp805_wdt: Remove unnecessary amba_set_drvdata()

Driver core clears the driver data to NULL after device_release
or on probe failure, so just remove it from here.

Driver core change:
"device-core: Ensure drvdata = NULL when no driver is bound"
(sha1: bcb6fcf1119586a8b03889dfc51669b0ad6d4f95)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sp805_wdt.c