aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/spear')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear.c2
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear.h2
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear1310.c6
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear1340.c6
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear300.c6
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear310.c6
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear320.c6
7 files changed, 17 insertions, 17 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c
index bf78eb7f85c4..922c057521a1 100644
--- a/drivers/pinctrl/spear/pinctrl-spear.c
+++ b/drivers/pinctrl/spear/pinctrl-spear.c
@@ -417,7 +417,7 @@ int __devinit spear_pinctrl_probe(struct platform_device *pdev,
417 return 0; 417 return 0;
418} 418}
419 419
420int __devexit spear_pinctrl_remove(struct platform_device *pdev) 420int spear_pinctrl_remove(struct platform_device *pdev)
421{ 421{
422 struct spear_pmx *pmx = platform_get_drvdata(pdev); 422 struct spear_pmx *pmx = platform_get_drvdata(pdev);
423 423
diff --git a/drivers/pinctrl/spear/pinctrl-spear.h b/drivers/pinctrl/spear/pinctrl-spear.h
index b06332719b2c..1be46ecc6d91 100644
--- a/drivers/pinctrl/spear/pinctrl-spear.h
+++ b/drivers/pinctrl/spear/pinctrl-spear.h
@@ -198,7 +198,7 @@ pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup,
198 unsigned count, u16 reg); 198 unsigned count, u16 reg);
199int __devinit spear_pinctrl_probe(struct platform_device *pdev, 199int __devinit spear_pinctrl_probe(struct platform_device *pdev,
200 struct spear_pinctrl_machdata *machdata); 200 struct spear_pinctrl_machdata *machdata);
201int __devexit spear_pinctrl_remove(struct platform_device *pdev); 201int spear_pinctrl_remove(struct platform_device *pdev);
202 202
203#define SPEAR_PIN_0_TO_101 \ 203#define SPEAR_PIN_0_TO_101 \
204 PINCTRL_PIN(0, "PLGPIO0"), \ 204 PINCTRL_PIN(0, "PLGPIO0"), \
diff --git a/drivers/pinctrl/spear/pinctrl-spear1310.c b/drivers/pinctrl/spear/pinctrl-spear1310.c
index 30134f727455..e40d785a3fc2 100644
--- a/drivers/pinctrl/spear/pinctrl-spear1310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1310.c
@@ -2692,7 +2692,7 @@ static struct spear_pinctrl_machdata spear1310_machdata = {
2692 .modes_supported = false, 2692 .modes_supported = false,
2693}; 2693};
2694 2694
2695static struct of_device_id spear1310_pinctrl_of_match[] __devinitdata = { 2695static struct of_device_id spear1310_pinctrl_of_match[] = {
2696 { 2696 {
2697 .compatible = "st,spear1310-pinmux", 2697 .compatible = "st,spear1310-pinmux",
2698 }, 2698 },
@@ -2704,7 +2704,7 @@ static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev)
2704 return spear_pinctrl_probe(pdev, &spear1310_machdata); 2704 return spear_pinctrl_probe(pdev, &spear1310_machdata);
2705} 2705}
2706 2706
2707static int __devexit spear1310_pinctrl_remove(struct platform_device *pdev) 2707static int spear1310_pinctrl_remove(struct platform_device *pdev)
2708{ 2708{
2709 return spear_pinctrl_remove(pdev); 2709 return spear_pinctrl_remove(pdev);
2710} 2710}
@@ -2716,7 +2716,7 @@ static struct platform_driver spear1310_pinctrl_driver = {
2716 .of_match_table = spear1310_pinctrl_of_match, 2716 .of_match_table = spear1310_pinctrl_of_match,
2717 }, 2717 },
2718 .probe = spear1310_pinctrl_probe, 2718 .probe = spear1310_pinctrl_probe,
2719 .remove = __devexit_p(spear1310_pinctrl_remove), 2719 .remove = spear1310_pinctrl_remove,
2720}; 2720};
2721 2721
2722static int __init spear1310_pinctrl_init(void) 2722static int __init spear1310_pinctrl_init(void)
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c
index 0b4af0e5cdc1..8deaaff3156c 100644
--- a/drivers/pinctrl/spear/pinctrl-spear1340.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1340.c
@@ -2008,7 +2008,7 @@ static struct spear_pinctrl_machdata spear1340_machdata = {
2008 .modes_supported = false, 2008 .modes_supported = false,
2009}; 2009};
2010 2010
2011static struct of_device_id spear1340_pinctrl_of_match[] __devinitdata = { 2011static struct of_device_id spear1340_pinctrl_of_match[] = {
2012 { 2012 {
2013 .compatible = "st,spear1340-pinmux", 2013 .compatible = "st,spear1340-pinmux",
2014 }, 2014 },
@@ -2020,7 +2020,7 @@ static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev)
2020 return spear_pinctrl_probe(pdev, &spear1340_machdata); 2020 return spear_pinctrl_probe(pdev, &spear1340_machdata);
2021} 2021}
2022 2022
2023static int __devexit spear1340_pinctrl_remove(struct platform_device *pdev) 2023static int spear1340_pinctrl_remove(struct platform_device *pdev)
2024{ 2024{
2025 return spear_pinctrl_remove(pdev); 2025 return spear_pinctrl_remove(pdev);
2026} 2026}
@@ -2032,7 +2032,7 @@ static struct platform_driver spear1340_pinctrl_driver = {
2032 .of_match_table = spear1340_pinctrl_of_match, 2032 .of_match_table = spear1340_pinctrl_of_match,
2033 }, 2033 },
2034 .probe = spear1340_pinctrl_probe, 2034 .probe = spear1340_pinctrl_probe,
2035 .remove = __devexit_p(spear1340_pinctrl_remove), 2035 .remove = spear1340_pinctrl_remove,
2036}; 2036};
2037 2037
2038static int __init spear1340_pinctrl_init(void) 2038static int __init spear1340_pinctrl_init(void)
diff --git a/drivers/pinctrl/spear/pinctrl-spear300.c b/drivers/pinctrl/spear/pinctrl-spear300.c
index 9a491007f42d..f48e466e605a 100644
--- a/drivers/pinctrl/spear/pinctrl-spear300.c
+++ b/drivers/pinctrl/spear/pinctrl-spear300.c
@@ -646,7 +646,7 @@ static struct spear_function *spear300_functions[] = {
646 &gpio1_function, 646 &gpio1_function,
647}; 647};
648 648
649static struct of_device_id spear300_pinctrl_of_match[] __devinitdata = { 649static struct of_device_id spear300_pinctrl_of_match[] = {
650 { 650 {
651 .compatible = "st,spear300-pinmux", 651 .compatible = "st,spear300-pinmux",
652 }, 652 },
@@ -677,7 +677,7 @@ static int __devinit spear300_pinctrl_probe(struct platform_device *pdev)
677 return 0; 677 return 0;
678} 678}
679 679
680static int __devexit spear300_pinctrl_remove(struct platform_device *pdev) 680static int spear300_pinctrl_remove(struct platform_device *pdev)
681{ 681{
682 return spear_pinctrl_remove(pdev); 682 return spear_pinctrl_remove(pdev);
683} 683}
@@ -689,7 +689,7 @@ static struct platform_driver spear300_pinctrl_driver = {
689 .of_match_table = spear300_pinctrl_of_match, 689 .of_match_table = spear300_pinctrl_of_match,
690 }, 690 },
691 .probe = spear300_pinctrl_probe, 691 .probe = spear300_pinctrl_probe,
692 .remove = __devexit_p(spear300_pinctrl_remove), 692 .remove = spear300_pinctrl_remove,
693}; 693};
694 694
695static int __init spear300_pinctrl_init(void) 695static int __init spear300_pinctrl_init(void)
diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c
index 4d5dfe9c760a..5b954c19a6d2 100644
--- a/drivers/pinctrl/spear/pinctrl-spear310.c
+++ b/drivers/pinctrl/spear/pinctrl-spear310.c
@@ -371,7 +371,7 @@ static struct spear_function *spear310_functions[] = {
371 &tdm_function, 371 &tdm_function,
372}; 372};
373 373
374static struct of_device_id spear310_pinctrl_of_match[] __devinitdata = { 374static struct of_device_id spear310_pinctrl_of_match[] = {
375 { 375 {
376 .compatible = "st,spear310-pinmux", 376 .compatible = "st,spear310-pinmux",
377 }, 377 },
@@ -400,7 +400,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev)
400 return 0; 400 return 0;
401} 401}
402 402
403static int __devexit spear310_pinctrl_remove(struct platform_device *pdev) 403static int spear310_pinctrl_remove(struct platform_device *pdev)
404{ 404{
405 return spear_pinctrl_remove(pdev); 405 return spear_pinctrl_remove(pdev);
406} 406}
@@ -412,7 +412,7 @@ static struct platform_driver spear310_pinctrl_driver = {
412 .of_match_table = spear310_pinctrl_of_match, 412 .of_match_table = spear310_pinctrl_of_match,
413 }, 413 },
414 .probe = spear310_pinctrl_probe, 414 .probe = spear310_pinctrl_probe,
415 .remove = __devexit_p(spear310_pinctrl_remove), 415 .remove = spear310_pinctrl_remove,
416}; 416};
417 417
418static int __init spear310_pinctrl_init(void) 418static int __init spear310_pinctrl_init(void)
diff --git a/drivers/pinctrl/spear/pinctrl-spear320.c b/drivers/pinctrl/spear/pinctrl-spear320.c
index c996e26e3b6c..e9a5e6d39242 100644
--- a/drivers/pinctrl/spear/pinctrl-spear320.c
+++ b/drivers/pinctrl/spear/pinctrl-spear320.c
@@ -3410,7 +3410,7 @@ static struct spear_function *spear320_functions[] = {
3410 &i2c2_function, 3410 &i2c2_function,
3411}; 3411};
3412 3412
3413static struct of_device_id spear320_pinctrl_of_match[] __devinitdata = { 3413static struct of_device_id spear320_pinctrl_of_match[] = {
3414 { 3414 {
3415 .compatible = "st,spear320-pinmux", 3415 .compatible = "st,spear320-pinmux",
3416 }, 3416 },
@@ -3441,7 +3441,7 @@ static int __devinit spear320_pinctrl_probe(struct platform_device *pdev)
3441 return 0; 3441 return 0;
3442} 3442}
3443 3443
3444static int __devexit spear320_pinctrl_remove(struct platform_device *pdev) 3444static int spear320_pinctrl_remove(struct platform_device *pdev)
3445{ 3445{
3446 return spear_pinctrl_remove(pdev); 3446 return spear_pinctrl_remove(pdev);
3447} 3447}
@@ -3453,7 +3453,7 @@ static struct platform_driver spear320_pinctrl_driver = {
3453 .of_match_table = spear320_pinctrl_of_match, 3453 .of_match_table = spear320_pinctrl_of_match,
3454 }, 3454 },
3455 .probe = spear320_pinctrl_probe, 3455 .probe = spear320_pinctrl_probe,
3456 .remove = __devexit_p(spear320_pinctrl_remove), 3456 .remove = spear320_pinctrl_remove,
3457}; 3457};
3458 3458
3459static int __init spear320_pinctrl_init(void) 3459static int __init spear320_pinctrl_init(void)