summaryrefslogtreecommitdiff
path: root/drivers/watchdog/gpio_wdt.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:56 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:56 +0400
commitfa21a580dea456c03fcf69203dcd0195df3f7dee (patch)
tree1ee19579d2a51c15c1d5ab3a7c75d87283f3b37e /drivers/watchdog/gpio_wdt.c
parentce882ad3c93fc076457ce9b97c19735b52b88c45 (diff)
downloadlinux-fa21a580dea456c03fcf69203dcd0195df3f7dee.tar.xz
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/gpio_wdt.c')
-rw-r--r--drivers/watchdog/gpio_wdt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/gpio_wdt.c b/drivers/watchdog/gpio_wdt.c
index 220a9e07cfd5..bbdb19b45332 100644
--- a/drivers/watchdog/gpio_wdt.c
+++ b/drivers/watchdog/gpio_wdt.c
@@ -241,7 +241,6 @@ MODULE_DEVICE_TABLE(of, gpio_wdt_dt_ids);
static struct platform_driver gpio_wdt_driver = {
.driver = {
.name = "gpio-wdt",
- .owner = THIS_MODULE,
.of_match_table = gpio_wdt_dt_ids,
},
.probe = gpio_wdt_probe,