summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sunxi_wdt.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:56 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:56 +0200
commitfa21a580dea456c03fcf69203dcd0195df3f7dee (patch)
tree1ee19579d2a51c15c1d5ab3a7c75d87283f3b37e /drivers/watchdog/sunxi_wdt.c
parentw1: masters: drop owner assignment from platform_drivers (diff)
downloadlinux-fa21a580dea456c03fcf69203dcd0195df3f7dee.tar.xz
linux-fa21a580dea456c03fcf69203dcd0195df3f7dee.zip
watchdog: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/watchdog/sunxi_wdt.c')
-rw-r--r--drivers/watchdog/sunxi_wdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c
index 480bb557f353..93d3ee71c9c7 100644
--- a/drivers/watchdog/sunxi_wdt.c
+++ b/drivers/watchdog/sunxi_wdt.c
@@ -253,7 +253,6 @@ static struct platform_driver sunxi_wdt_driver = {
.remove = sunxi_wdt_remove,
.shutdown = sunxi_wdt_shutdown,
.driver = {
- .owner = THIS_MODULE,
.name = DRV_NAME,
.of_match_table = sunxi_wdt_dt_ids,
},