aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:23 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:23 -0400
commit87b5067322b2b1ecde970e88694867a776443ff7 (patch)
treeda9e1a23972d9624df996f533f2ad12779298a3a /drivers/pinctrl
parent1d57fb12e612d65c1e7463d1d193869d3d9edbb1 (diff)
pinctrl: nomadik: 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')
-rw-r--r--drivers/pinctrl/nomadik/pinctrl-abx500.c1
-rw-r--r--drivers/pinctrl/nomadik/pinctrl-nomadik.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c
index 228972827132..37af8fb15c71 100644
--- a/drivers/pinctrl/nomadik/pinctrl-abx500.c
+++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c
@@ -1285,7 +1285,6 @@ static int abx500_gpio_remove(struct platform_device *pdev)
1285static struct platform_driver abx500_gpio_driver = { 1285static struct platform_driver abx500_gpio_driver = {
1286 .driver = { 1286 .driver = {
1287 .name = "abx500-gpio", 1287 .name = "abx500-gpio",
1288 .owner = THIS_MODULE,
1289 .of_match_table = abx500_gpio_match, 1288 .of_match_table = abx500_gpio_match,
1290 }, 1289 },
1291 .probe = abx500_gpio_probe, 1290 .probe = abx500_gpio_probe,
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
index 746db6acf648..97a7724dcdf8 100644
--- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c
+++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
@@ -2047,7 +2047,6 @@ static const struct of_device_id nmk_gpio_match[] = {
2047 2047
2048static struct platform_driver nmk_gpio_driver = { 2048static struct platform_driver nmk_gpio_driver = {
2049 .driver = { 2049 .driver = {
2050 .owner = THIS_MODULE,
2051 .name = "gpio", 2050 .name = "gpio",
2052 .of_match_table = nmk_gpio_match, 2051 .of_match_table = nmk_gpio_match,
2053 }, 2052 },
@@ -2060,7 +2059,6 @@ static SIMPLE_DEV_PM_OPS(nmk_pinctrl_pm_ops,
2060 2059
2061static struct platform_driver nmk_pinctrl_driver = { 2060static struct platform_driver nmk_pinctrl_driver = {
2062 .driver = { 2061 .driver = {
2063 .owner = THIS_MODULE,
2064 .name = "pinctrl-nomadik", 2062 .name = "pinctrl-nomadik",
2065 .of_match_table = nmk_pinctrl_match, 2063 .of_match_table = nmk_pinctrl_match,
2066 .pm = &nmk_pinctrl_pm_ops, 2064 .pm = &nmk_pinctrl_pm_ops,