summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear/pinctrl-plgpio.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:25 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:25 +0200
commit5a9a1e8437c865b29f0807ce861a224a95d3121e (patch)
tree8686351fde7c8e8c99272b218d4d03a6c7c109ad /drivers/pinctrl/spear/pinctrl-plgpio.c
parentpinctrl: sirf: drop owner assignment from platform_drivers (diff)
downloadlinux-5a9a1e8437c865b29f0807ce861a224a95d3121e.tar.xz
linux-5a9a1e8437c865b29f0807ce861a224a95d3121e.zip
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-plgpio.c')
-rw-r--r--drivers/pinctrl/spear/pinctrl-plgpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c
index bddb79105d67..59a6b6bcfae4 100644
--- a/drivers/pinctrl/spear/pinctrl-plgpio.c
+++ b/drivers/pinctrl/spear/pinctrl-plgpio.c
@@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match);
static struct platform_driver plgpio_driver = {
.probe = plgpio_probe,
.driver = {
- .owner = THIS_MODULE,
.name = "spear-plgpio",
.pm = &plgpio_dev_pm_ops,
.of_match_table = plgpio_of_match,