summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/spear/pinctrl-spear1340.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:25 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:25 +0400
commit5a9a1e8437c865b29f0807ce861a224a95d3121e (patch)
tree8686351fde7c8e8c99272b218d4d03a6c7c109ad /drivers/pinctrl/spear/pinctrl-spear1340.c
parent66d0f85f1003ae0eafd5e225bc06c71f5366418e (diff)
downloadlinux-5a9a1e8437c865b29f0807ce861a224a95d3121e.tar.xz
pinctrl: spear: 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/pinctrl/spear/pinctrl-spear1340.c')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear1340.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c
index d243e43e7f6d..f43ec85a0328 100644
--- a/drivers/pinctrl/spear/pinctrl-spear1340.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1340.c
@@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver spear1340_pinctrl_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = spear1340_pinctrl_of_match,
},
.probe = spear1340_pinctrl_probe,