summaryrefslogtreecommitdiff
path: root/drivers/watchdog/cpwd.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/cpwd.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/cpwd.c')
-rw-r--r--drivers/watchdog/cpwd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c
index e55ed702209f..02007689e9ca 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -679,7 +679,6 @@ MODULE_DEVICE_TABLE(of, cpwd_match);
static struct platform_driver cpwd_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = cpwd_match,
},
.probe = cpwd_probe,