diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:22 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:22 -0400 |
commit | c61b301d3b1a9b2f40b2c3f03e78821c1d68b511 (patch) | |
tree | 17f5672eccf17ad9230613b1e02a55c6c716840a /drivers/pinctrl | |
parent | 4c992fe5c1fdb699b37172b79bc0a5f0f2825332 (diff) |
pinctrl: freescale: 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/freescale/pinctrl-imx1.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx21.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx23.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx25.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx27.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx28.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx35.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx50.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx51.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx53.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6dl.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6q.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6sl.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-imx6sx.c | 1 | ||||
-rw-r--r-- | drivers/pinctrl/freescale/pinctrl-vf610.c | 1 |
15 files changed, 0 insertions, 15 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.c b/drivers/pinctrl/freescale/pinctrl-imx1.c index 533a6e519648..d3bacb7d6d37 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx1.c +++ b/drivers/pinctrl/freescale/pinctrl-imx1.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, imx1_pinctrl_of_match); | |||
267 | static struct platform_driver imx1_pinctrl_driver = { | 267 | static struct platform_driver imx1_pinctrl_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "imx1-pinctrl", | 269 | .name = "imx1-pinctrl", |
270 | .owner = THIS_MODULE, | ||
271 | .of_match_table = imx1_pinctrl_of_match, | 270 | .of_match_table = imx1_pinctrl_of_match, |
272 | }, | 271 | }, |
273 | .remove = imx1_pinctrl_core_remove, | 272 | .remove = imx1_pinctrl_core_remove, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c index 1b3b2311b033..9d9aca3dbd7e 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx21.c +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c | |||
@@ -330,7 +330,6 @@ MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); | |||
330 | static struct platform_driver imx21_pinctrl_driver = { | 330 | static struct platform_driver imx21_pinctrl_driver = { |
331 | .driver = { | 331 | .driver = { |
332 | .name = "imx21-pinctrl", | 332 | .name = "imx21-pinctrl", |
333 | .owner = THIS_MODULE, | ||
334 | .of_match_table = imx21_pinctrl_of_match, | 333 | .of_match_table = imx21_pinctrl_of_match, |
335 | }, | 334 | }, |
336 | .remove = imx1_pinctrl_core_remove, | 335 | .remove = imx1_pinctrl_core_remove, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx23.c b/drivers/pinctrl/freescale/pinctrl-imx23.c index df79096becb0..955cbf4f094f 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx23.c +++ b/drivers/pinctrl/freescale/pinctrl-imx23.c | |||
@@ -281,7 +281,6 @@ MODULE_DEVICE_TABLE(of, imx23_pinctrl_of_match); | |||
281 | static struct platform_driver imx23_pinctrl_driver = { | 281 | static struct platform_driver imx23_pinctrl_driver = { |
282 | .driver = { | 282 | .driver = { |
283 | .name = "imx23-pinctrl", | 283 | .name = "imx23-pinctrl", |
284 | .owner = THIS_MODULE, | ||
285 | .of_match_table = imx23_pinctrl_of_match, | 284 | .of_match_table = imx23_pinctrl_of_match, |
286 | }, | 285 | }, |
287 | .probe = imx23_pinctrl_probe, | 286 | .probe = imx23_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx25.c b/drivers/pinctrl/freescale/pinctrl-imx25.c index 550e6d77ac2b..8d1013a040c9 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx25.c +++ b/drivers/pinctrl/freescale/pinctrl-imx25.c | |||
@@ -328,7 +328,6 @@ static int imx25_pinctrl_probe(struct platform_device *pdev) | |||
328 | static struct platform_driver imx25_pinctrl_driver = { | 328 | static struct platform_driver imx25_pinctrl_driver = { |
329 | .driver = { | 329 | .driver = { |
330 | .name = "imx25-pinctrl", | 330 | .name = "imx25-pinctrl", |
331 | .owner = THIS_MODULE, | ||
332 | .of_match_table = of_match_ptr(imx25_pinctrl_of_match), | 331 | .of_match_table = of_match_ptr(imx25_pinctrl_of_match), |
333 | }, | 332 | }, |
334 | .probe = imx25_pinctrl_probe, | 333 | .probe = imx25_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx27.c b/drivers/pinctrl/freescale/pinctrl-imx27.c index 945eccadea74..a461d5881f37 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx27.c +++ b/drivers/pinctrl/freescale/pinctrl-imx27.c | |||
@@ -402,7 +402,6 @@ static int imx27_pinctrl_probe(struct platform_device *pdev) | |||
402 | static struct platform_driver imx27_pinctrl_driver = { | 402 | static struct platform_driver imx27_pinctrl_driver = { |
403 | .driver = { | 403 | .driver = { |
404 | .name = "imx27-pinctrl", | 404 | .name = "imx27-pinctrl", |
405 | .owner = THIS_MODULE, | ||
406 | .of_match_table = of_match_ptr(imx27_pinctrl_of_match), | 405 | .of_match_table = of_match_ptr(imx27_pinctrl_of_match), |
407 | }, | 406 | }, |
408 | .probe = imx27_pinctrl_probe, | 407 | .probe = imx27_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx28.c b/drivers/pinctrl/freescale/pinctrl-imx28.c index 3bd45da21229..5082efec4f72 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx28.c +++ b/drivers/pinctrl/freescale/pinctrl-imx28.c | |||
@@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(of, imx28_pinctrl_of_match); | |||
397 | static struct platform_driver imx28_pinctrl_driver = { | 397 | static struct platform_driver imx28_pinctrl_driver = { |
398 | .driver = { | 398 | .driver = { |
399 | .name = "imx28-pinctrl", | 399 | .name = "imx28-pinctrl", |
400 | .owner = THIS_MODULE, | ||
401 | .of_match_table = imx28_pinctrl_of_match, | 400 | .of_match_table = imx28_pinctrl_of_match, |
402 | }, | 401 | }, |
403 | .probe = imx28_pinctrl_probe, | 402 | .probe = imx28_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx35.c b/drivers/pinctrl/freescale/pinctrl-imx35.c index 6bfbcd0112c1..9109c10c5dab 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx35.c +++ b/drivers/pinctrl/freescale/pinctrl-imx35.c | |||
@@ -1018,7 +1018,6 @@ static int imx35_pinctrl_probe(struct platform_device *pdev) | |||
1018 | static struct platform_driver imx35_pinctrl_driver = { | 1018 | static struct platform_driver imx35_pinctrl_driver = { |
1019 | .driver = { | 1019 | .driver = { |
1020 | .name = "imx35-pinctrl", | 1020 | .name = "imx35-pinctrl", |
1021 | .owner = THIS_MODULE, | ||
1022 | .of_match_table = imx35_pinctrl_of_match, | 1021 | .of_match_table = imx35_pinctrl_of_match, |
1023 | }, | 1022 | }, |
1024 | .probe = imx35_pinctrl_probe, | 1023 | .probe = imx35_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx50.c b/drivers/pinctrl/freescale/pinctrl-imx50.c index e8bd604ab147..51b31df96273 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx50.c +++ b/drivers/pinctrl/freescale/pinctrl-imx50.c | |||
@@ -404,7 +404,6 @@ static int imx50_pinctrl_probe(struct platform_device *pdev) | |||
404 | static struct platform_driver imx50_pinctrl_driver = { | 404 | static struct platform_driver imx50_pinctrl_driver = { |
405 | .driver = { | 405 | .driver = { |
406 | .name = "imx50-pinctrl", | 406 | .name = "imx50-pinctrl", |
407 | .owner = THIS_MODULE, | ||
408 | .of_match_table = of_match_ptr(imx50_pinctrl_of_match), | 407 | .of_match_table = of_match_ptr(imx50_pinctrl_of_match), |
409 | }, | 408 | }, |
410 | .probe = imx50_pinctrl_probe, | 409 | .probe = imx50_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx51.c b/drivers/pinctrl/freescale/pinctrl-imx51.c index b818051db7c9..8dec494aa2c6 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx51.c +++ b/drivers/pinctrl/freescale/pinctrl-imx51.c | |||
@@ -781,7 +781,6 @@ static int imx51_pinctrl_probe(struct platform_device *pdev) | |||
781 | static struct platform_driver imx51_pinctrl_driver = { | 781 | static struct platform_driver imx51_pinctrl_driver = { |
782 | .driver = { | 782 | .driver = { |
783 | .name = "imx51-pinctrl", | 783 | .name = "imx51-pinctrl", |
784 | .owner = THIS_MODULE, | ||
785 | .of_match_table = imx51_pinctrl_of_match, | 784 | .of_match_table = imx51_pinctrl_of_match, |
786 | }, | 785 | }, |
787 | .probe = imx51_pinctrl_probe, | 786 | .probe = imx51_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx53.c b/drivers/pinctrl/freescale/pinctrl-imx53.c index 1884d53cf750..7344d340013c 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx53.c +++ b/drivers/pinctrl/freescale/pinctrl-imx53.c | |||
@@ -467,7 +467,6 @@ static int imx53_pinctrl_probe(struct platform_device *pdev) | |||
467 | static struct platform_driver imx53_pinctrl_driver = { | 467 | static struct platform_driver imx53_pinctrl_driver = { |
468 | .driver = { | 468 | .driver = { |
469 | .name = "imx53-pinctrl", | 469 | .name = "imx53-pinctrl", |
470 | .owner = THIS_MODULE, | ||
471 | .of_match_table = imx53_pinctrl_of_match, | 470 | .of_match_table = imx53_pinctrl_of_match, |
472 | }, | 471 | }, |
473 | .probe = imx53_pinctrl_probe, | 472 | .probe = imx53_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6dl.c b/drivers/pinctrl/freescale/pinctrl-imx6dl.c index 656c4b08cc2e..6805c678c3b2 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6dl.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6dl.c | |||
@@ -473,7 +473,6 @@ static int imx6dl_pinctrl_probe(struct platform_device *pdev) | |||
473 | static struct platform_driver imx6dl_pinctrl_driver = { | 473 | static struct platform_driver imx6dl_pinctrl_driver = { |
474 | .driver = { | 474 | .driver = { |
475 | .name = "imx6dl-pinctrl", | 475 | .name = "imx6dl-pinctrl", |
476 | .owner = THIS_MODULE, | ||
477 | .of_match_table = imx6dl_pinctrl_of_match, | 476 | .of_match_table = imx6dl_pinctrl_of_match, |
478 | }, | 477 | }, |
479 | .probe = imx6dl_pinctrl_probe, | 478 | .probe = imx6dl_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c index 59bb5b4ec0f6..4d1fcb861ac1 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6q.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c | |||
@@ -479,7 +479,6 @@ static int imx6q_pinctrl_probe(struct platform_device *pdev) | |||
479 | static struct platform_driver imx6q_pinctrl_driver = { | 479 | static struct platform_driver imx6q_pinctrl_driver = { |
480 | .driver = { | 480 | .driver = { |
481 | .name = "imx6q-pinctrl", | 481 | .name = "imx6q-pinctrl", |
482 | .owner = THIS_MODULE, | ||
483 | .of_match_table = imx6q_pinctrl_of_match, | 482 | .of_match_table = imx6q_pinctrl_of_match, |
484 | }, | 483 | }, |
485 | .probe = imx6q_pinctrl_probe, | 484 | .probe = imx6q_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sl.c b/drivers/pinctrl/freescale/pinctrl-imx6sl.c index e0924bd7b98c..83fa5f19ae89 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6sl.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6sl.c | |||
@@ -380,7 +380,6 @@ static int imx6sl_pinctrl_probe(struct platform_device *pdev) | |||
380 | static struct platform_driver imx6sl_pinctrl_driver = { | 380 | static struct platform_driver imx6sl_pinctrl_driver = { |
381 | .driver = { | 381 | .driver = { |
382 | .name = "imx6sl-pinctrl", | 382 | .name = "imx6sl-pinctrl", |
383 | .owner = THIS_MODULE, | ||
384 | .of_match_table = imx6sl_pinctrl_of_match, | 383 | .of_match_table = imx6sl_pinctrl_of_match, |
385 | }, | 384 | }, |
386 | .probe = imx6sl_pinctrl_probe, | 385 | .probe = imx6sl_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sx.c b/drivers/pinctrl/freescale/pinctrl-imx6sx.c index 840344c8580d..0d78fe690818 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6sx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6sx.c | |||
@@ -383,7 +383,6 @@ static int imx6sx_pinctrl_probe(struct platform_device *pdev) | |||
383 | static struct platform_driver imx6sx_pinctrl_driver = { | 383 | static struct platform_driver imx6sx_pinctrl_driver = { |
384 | .driver = { | 384 | .driver = { |
385 | .name = "imx6sx-pinctrl", | 385 | .name = "imx6sx-pinctrl", |
386 | .owner = THIS_MODULE, | ||
387 | .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match), | 386 | .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match), |
388 | }, | 387 | }, |
389 | .probe = imx6sx_pinctrl_probe, | 388 | .probe = imx6sx_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c b/drivers/pinctrl/freescale/pinctrl-vf610.c index b788e1578954..fc86276892fd 100644 --- a/drivers/pinctrl/freescale/pinctrl-vf610.c +++ b/drivers/pinctrl/freescale/pinctrl-vf610.c | |||
@@ -315,7 +315,6 @@ static int vf610_pinctrl_probe(struct platform_device *pdev) | |||
315 | static struct platform_driver vf610_pinctrl_driver = { | 315 | static struct platform_driver vf610_pinctrl_driver = { |
316 | .driver = { | 316 | .driver = { |
317 | .name = "vf610-pinctrl", | 317 | .name = "vf610-pinctrl", |
318 | .owner = THIS_MODULE, | ||
319 | .of_match_table = vf610_pinctrl_of_match, | 318 | .of_match_table = vf610_pinctrl_of_match, |
320 | }, | 319 | }, |
321 | .probe = vf610_pinctrl_probe, | 320 | .probe = vf610_pinctrl_probe, |