summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-palmas.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:21 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:21 +0200
commit5c759d73b0228901d0e05e5f02402fb35f5d2263 (patch)
treef29d9a9ab2055fe58423f3d1136be4cba9a11cf8 /drivers/pinctrl/pinctrl-palmas.c
parent735fc3ec3434dd71c3846766a857812571c79925 (diff)
pinctrl: 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/pinctrl-palmas.c')
-rw-r--r--drivers/pinctrl/pinctrl-palmas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-palmas.c b/drivers/pinctrl/pinctrl-palmas.c
index e3079d3d19fe..26461e30f0ae 100644
--- a/drivers/pinctrl/pinctrl-palmas.c
+++ b/drivers/pinctrl/pinctrl-palmas.c
@@ -1062,7 +1062,6 @@ static int palmas_pinctrl_remove(struct platform_device *pdev)
static struct platform_driver palmas_pinctrl_driver = {
.driver = {
.name = "palmas-pinctrl",
- .owner = THIS_MODULE,
.of_match_table = palmas_pinctrl_of_match,
},
.probe = palmas_pinctrl_probe,