diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-04 01:41:16 +0530 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-07-11 21:03:04 +0200 |
commit | 4d2327ca9d44dbf5b4ead443f380ad58baa8c201 (patch) | |
tree | bf47e83b06ccac7b4dd0ffa6f4868b67a8a78cd0 /drivers/watchdog | |
parent | 2f7b9b4883f4d67821bbd80f8fdfb8630d24cc60 (diff) | |
download | kernel_goldelico_gta04-4d2327ca9d44dbf5b4ead443f380ad58baa8c201.zip kernel_goldelico_gta04-4d2327ca9d44dbf5b4ead443f380ad58baa8c201.tar.gz kernel_goldelico_gta04-4d2327ca9d44dbf5b4ead443f380ad58baa8c201.tar.bz2 |
watchdog: shwdt: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/shwdt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c index ea2154b..5bca794 100644 --- a/drivers/watchdog/shwdt.c +++ b/drivers/watchdog/shwdt.c @@ -296,8 +296,6 @@ static int sh_wdt_remove(struct platform_device *pdev) { struct sh_wdt *wdt = platform_get_drvdata(pdev); - platform_set_drvdata(pdev, NULL); - watchdog_unregister_device(&sh_wdt_dev); pm_runtime_disable(&pdev->dev); |