aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
commitcff2f741b8ee8a70b208830e330de053efd4fc45 (patch)
tree83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/pinctrl
parentb0885d01f9ab1274109c02942c881d598f939623 (diff)
parent92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff)
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-bcm2835.c8
-rw-r--r--drivers/pinctrl/pinctrl-imx.c2
-rw-r--r--drivers/pinctrl/pinctrl-imx23.c4
-rw-r--r--drivers/pinctrl/pinctrl-imx28.c4
-rw-r--r--drivers/pinctrl/pinctrl-imx35.c4
-rw-r--r--drivers/pinctrl/pinctrl-imx51.c4
-rw-r--r--drivers/pinctrl/pinctrl-imx53.c4
-rw-r--r--drivers/pinctrl/pinctrl-imx6q.c4
-rw-r--r--drivers/pinctrl/pinctrl-mmp2.c4
-rw-r--r--drivers/pinctrl/pinctrl-mxs.c2
-rw-r--r--drivers/pinctrl/pinctrl-pxa168.c4
-rw-r--r--drivers/pinctrl/pinctrl-pxa910.c4
-rw-r--r--drivers/pinctrl/pinctrl-single.c6
-rw-r--r--drivers/pinctrl/pinctrl-sirf.c2
-rw-r--r--drivers/pinctrl/pinctrl-tegra.c2
-rw-r--r--drivers/pinctrl/pinctrl-tegra20.c4
-rw-r--r--drivers/pinctrl/pinctrl-tegra30.c4
-rw-r--r--drivers/pinctrl/pinctrl-u300.c4
-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
25 files changed, 52 insertions, 52 deletions
diff --git a/drivers/pinctrl/pinctrl-bcm2835.c b/drivers/pinctrl/pinctrl-bcm2835.c
index 9a963edd66d1..0b0e9b49a1b5 100644
--- a/drivers/pinctrl/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/pinctrl-bcm2835.c
@@ -372,7 +372,7 @@ static int bcm2835_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
372 return irq_linear_revmap(pc->irq_domain, offset); 372 return irq_linear_revmap(pc->irq_domain, offset);
373} 373}
374 374
375static struct gpio_chip bcm2835_gpio_chip __devinitconst = { 375static struct gpio_chip bcm2835_gpio_chip = {
376 .label = MODULE_NAME, 376 .label = MODULE_NAME,
377 .owner = THIS_MODULE, 377 .owner = THIS_MODULE,
378 .request = bcm2835_gpio_request, 378 .request = bcm2835_gpio_request,
@@ -931,7 +931,7 @@ static struct pinctrl_desc bcm2835_pinctrl_desc = {
931 .owner = THIS_MODULE, 931 .owner = THIS_MODULE,
932}; 932};
933 933
934static struct pinctrl_gpio_range bcm2835_pinctrl_gpio_range __devinitconst = { 934static struct pinctrl_gpio_range bcm2835_pinctrl_gpio_range = {
935 .name = MODULE_NAME, 935 .name = MODULE_NAME,
936 .npins = BCM2835_NUM_GPIOS, 936 .npins = BCM2835_NUM_GPIOS,
937}; 937};
@@ -1042,7 +1042,7 @@ static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev)
1042 return 0; 1042 return 0;
1043} 1043}
1044 1044
1045static int __devexit bcm2835_pinctrl_remove(struct platform_device *pdev) 1045static int bcm2835_pinctrl_remove(struct platform_device *pdev)
1046{ 1046{
1047 struct bcm2835_pinctrl *pc = platform_get_drvdata(pdev); 1047 struct bcm2835_pinctrl *pc = platform_get_drvdata(pdev);
1048 1048
@@ -1052,7 +1052,7 @@ static int __devexit bcm2835_pinctrl_remove(struct platform_device *pdev)
1052 return 0; 1052 return 0;
1053} 1053}
1054 1054
1055static struct of_device_id bcm2835_pinctrl_match[] __devinitconst = { 1055static struct of_device_id bcm2835_pinctrl_match[] = {
1056 { .compatible = "brcm,bcm2835-gpio" }, 1056 { .compatible = "brcm,bcm2835-gpio" },
1057 {} 1057 {}
1058}; 1058};
diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
index 525a2c8644f6..131d86d7c2a5 100644
--- a/drivers/pinctrl/pinctrl-imx.c
+++ b/drivers/pinctrl/pinctrl-imx.c
@@ -611,7 +611,7 @@ int __devinit imx_pinctrl_probe(struct platform_device *pdev,
611 return 0; 611 return 0;
612} 612}
613 613
614int __devexit imx_pinctrl_remove(struct platform_device *pdev) 614int imx_pinctrl_remove(struct platform_device *pdev)
615{ 615{
616 struct imx_pinctrl *ipctl = platform_get_drvdata(pdev); 616 struct imx_pinctrl *ipctl = platform_get_drvdata(pdev);
617 617
diff --git a/drivers/pinctrl/pinctrl-imx23.c b/drivers/pinctrl/pinctrl-imx23.c
index 3674d877ed7c..04364f7822b7 100644
--- a/drivers/pinctrl/pinctrl-imx23.c
+++ b/drivers/pinctrl/pinctrl-imx23.c
@@ -272,7 +272,7 @@ static int __devinit imx23_pinctrl_probe(struct platform_device *pdev)
272 return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data); 272 return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data);
273} 273}
274 274
275static struct of_device_id imx23_pinctrl_of_match[] __devinitdata = { 275static struct of_device_id imx23_pinctrl_of_match[] = {
276 { .compatible = "fsl,imx23-pinctrl", }, 276 { .compatible = "fsl,imx23-pinctrl", },
277 { /* sentinel */ } 277 { /* sentinel */ }
278}; 278};
@@ -285,7 +285,7 @@ static struct platform_driver imx23_pinctrl_driver = {
285 .of_match_table = imx23_pinctrl_of_match, 285 .of_match_table = imx23_pinctrl_of_match,
286 }, 286 },
287 .probe = imx23_pinctrl_probe, 287 .probe = imx23_pinctrl_probe,
288 .remove = __devexit_p(mxs_pinctrl_remove), 288 .remove = mxs_pinctrl_remove,
289}; 289};
290 290
291static int __init imx23_pinctrl_init(void) 291static int __init imx23_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-imx28.c b/drivers/pinctrl/pinctrl-imx28.c
index 0f5b2122b1ba..e1af2ba89004 100644
--- a/drivers/pinctrl/pinctrl-imx28.c
+++ b/drivers/pinctrl/pinctrl-imx28.c
@@ -388,7 +388,7 @@ static int __devinit imx28_pinctrl_probe(struct platform_device *pdev)
388 return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data); 388 return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data);
389} 389}
390 390
391static struct of_device_id imx28_pinctrl_of_match[] __devinitdata = { 391static struct of_device_id imx28_pinctrl_of_match[] = {
392 { .compatible = "fsl,imx28-pinctrl", }, 392 { .compatible = "fsl,imx28-pinctrl", },
393 { /* sentinel */ } 393 { /* sentinel */ }
394}; 394};
@@ -401,7 +401,7 @@ static struct platform_driver imx28_pinctrl_driver = {
401 .of_match_table = imx28_pinctrl_of_match, 401 .of_match_table = imx28_pinctrl_of_match,
402 }, 402 },
403 .probe = imx28_pinctrl_probe, 403 .probe = imx28_pinctrl_probe,
404 .remove = __devexit_p(mxs_pinctrl_remove), 404 .remove = mxs_pinctrl_remove,
405}; 405};
406 406
407static int __init imx28_pinctrl_init(void) 407static int __init imx28_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-imx35.c b/drivers/pinctrl/pinctrl-imx35.c
index 82f109e26f27..1dbf5278acec 100644
--- a/drivers/pinctrl/pinctrl-imx35.c
+++ b/drivers/pinctrl/pinctrl-imx35.c
@@ -1559,7 +1559,7 @@ static struct imx_pinctrl_soc_info imx35_pinctrl_info = {
1559 .npin_regs = ARRAY_SIZE(imx35_pin_regs), 1559 .npin_regs = ARRAY_SIZE(imx35_pin_regs),
1560}; 1560};
1561 1561
1562static struct of_device_id imx35_pinctrl_of_match[] __devinitdata = { 1562static struct of_device_id imx35_pinctrl_of_match[] = {
1563 { .compatible = "fsl,imx35-iomuxc", }, 1563 { .compatible = "fsl,imx35-iomuxc", },
1564 { /* sentinel */ } 1564 { /* sentinel */ }
1565}; 1565};
@@ -1576,7 +1576,7 @@ static struct platform_driver imx35_pinctrl_driver = {
1576 .of_match_table = of_match_ptr(imx35_pinctrl_of_match), 1576 .of_match_table = of_match_ptr(imx35_pinctrl_of_match),
1577 }, 1577 },
1578 .probe = imx35_pinctrl_probe, 1578 .probe = imx35_pinctrl_probe,
1579 .remove = __devexit_p(imx_pinctrl_remove), 1579 .remove = imx_pinctrl_remove,
1580}; 1580};
1581 1581
1582static int __init imx35_pinctrl_init(void) 1582static int __init imx35_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-imx51.c b/drivers/pinctrl/pinctrl-imx51.c
index fb8468966779..131216558a7b 100644
--- a/drivers/pinctrl/pinctrl-imx51.c
+++ b/drivers/pinctrl/pinctrl-imx51.c
@@ -1286,7 +1286,7 @@ static struct imx_pinctrl_soc_info imx51_pinctrl_info = {
1286 .npin_regs = ARRAY_SIZE(imx51_pin_regs), 1286 .npin_regs = ARRAY_SIZE(imx51_pin_regs),
1287}; 1287};
1288 1288
1289static struct of_device_id imx51_pinctrl_of_match[] __devinitdata = { 1289static struct of_device_id imx51_pinctrl_of_match[] = {
1290 { .compatible = "fsl,imx51-iomuxc", }, 1290 { .compatible = "fsl,imx51-iomuxc", },
1291 { /* sentinel */ } 1291 { /* sentinel */ }
1292}; 1292};
@@ -1303,7 +1303,7 @@ static struct platform_driver imx51_pinctrl_driver = {
1303 .of_match_table = of_match_ptr(imx51_pinctrl_of_match), 1303 .of_match_table = of_match_ptr(imx51_pinctrl_of_match),
1304 }, 1304 },
1305 .probe = imx51_pinctrl_probe, 1305 .probe = imx51_pinctrl_probe,
1306 .remove = __devexit_p(imx_pinctrl_remove), 1306 .remove = imx_pinctrl_remove,
1307}; 1307};
1308 1308
1309static int __init imx51_pinctrl_init(void) 1309static int __init imx51_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-imx53.c b/drivers/pinctrl/pinctrl-imx53.c
index 783feb1ce064..ec4048691775 100644
--- a/drivers/pinctrl/pinctrl-imx53.c
+++ b/drivers/pinctrl/pinctrl-imx53.c
@@ -1613,7 +1613,7 @@ static struct imx_pinctrl_soc_info imx53_pinctrl_info = {
1613 .npin_regs = ARRAY_SIZE(imx53_pin_regs), 1613 .npin_regs = ARRAY_SIZE(imx53_pin_regs),
1614}; 1614};
1615 1615
1616static struct of_device_id imx53_pinctrl_of_match[] __devinitdata = { 1616static struct of_device_id imx53_pinctrl_of_match[] = {
1617 { .compatible = "fsl,imx53-iomuxc", }, 1617 { .compatible = "fsl,imx53-iomuxc", },
1618 { /* sentinel */ } 1618 { /* sentinel */ }
1619}; 1619};
@@ -1630,7 +1630,7 @@ static struct platform_driver imx53_pinctrl_driver = {
1630 .of_match_table = of_match_ptr(imx53_pinctrl_of_match), 1630 .of_match_table = of_match_ptr(imx53_pinctrl_of_match),
1631 }, 1631 },
1632 .probe = imx53_pinctrl_probe, 1632 .probe = imx53_pinctrl_probe,
1633 .remove = __devexit_p(imx_pinctrl_remove), 1633 .remove = imx_pinctrl_remove,
1634}; 1634};
1635 1635
1636static int __init imx53_pinctrl_init(void) 1636static int __init imx53_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-imx6q.c b/drivers/pinctrl/pinctrl-imx6q.c
index e9bf71fbedca..844ab13c93a3 100644
--- a/drivers/pinctrl/pinctrl-imx6q.c
+++ b/drivers/pinctrl/pinctrl-imx6q.c
@@ -2297,7 +2297,7 @@ static struct imx_pinctrl_soc_info imx6q_pinctrl_info = {
2297 .npin_regs = ARRAY_SIZE(imx6q_pin_regs), 2297 .npin_regs = ARRAY_SIZE(imx6q_pin_regs),
2298}; 2298};
2299 2299
2300static struct of_device_id imx6q_pinctrl_of_match[] __devinitdata = { 2300static struct of_device_id imx6q_pinctrl_of_match[] = {
2301 { .compatible = "fsl,imx6q-iomuxc", }, 2301 { .compatible = "fsl,imx6q-iomuxc", },
2302 { /* sentinel */ } 2302 { /* sentinel */ }
2303}; 2303};
@@ -2314,7 +2314,7 @@ static struct platform_driver imx6q_pinctrl_driver = {
2314 .of_match_table = of_match_ptr(imx6q_pinctrl_of_match), 2314 .of_match_table = of_match_ptr(imx6q_pinctrl_of_match),
2315 }, 2315 },
2316 .probe = imx6q_pinctrl_probe, 2316 .probe = imx6q_pinctrl_probe,
2317 .remove = __devexit_p(imx_pinctrl_remove), 2317 .remove = imx_pinctrl_remove,
2318}; 2318};
2319 2319
2320static int __init imx6q_pinctrl_init(void) 2320static int __init imx6q_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-mmp2.c b/drivers/pinctrl/pinctrl-mmp2.c
index 2cfed552bbe4..4fbb3db3f1c1 100644
--- a/drivers/pinctrl/pinctrl-mmp2.c
+++ b/drivers/pinctrl/pinctrl-mmp2.c
@@ -691,7 +691,7 @@ static int __devinit mmp2_pinmux_probe(struct platform_device *pdev)
691 return pxa3xx_pinctrl_register(pdev, &mmp2_info); 691 return pxa3xx_pinctrl_register(pdev, &mmp2_info);
692} 692}
693 693
694static int __devexit mmp2_pinmux_remove(struct platform_device *pdev) 694static int mmp2_pinmux_remove(struct platform_device *pdev)
695{ 695{
696 return pxa3xx_pinctrl_unregister(pdev); 696 return pxa3xx_pinctrl_unregister(pdev);
697} 697}
@@ -702,7 +702,7 @@ static struct platform_driver mmp2_pinmux_driver = {
702 .owner = THIS_MODULE, 702 .owner = THIS_MODULE,
703 }, 703 },
704 .probe = mmp2_pinmux_probe, 704 .probe = mmp2_pinmux_probe,
705 .remove = __devexit_p(mmp2_pinmux_remove), 705 .remove = mmp2_pinmux_remove,
706}; 706};
707 707
708static int __init mmp2_pinmux_init(void) 708static int __init mmp2_pinmux_init(void)
diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c
index 3e7d4d63f8bf..180f16379ec1 100644
--- a/drivers/pinctrl/pinctrl-mxs.c
+++ b/drivers/pinctrl/pinctrl-mxs.c
@@ -522,7 +522,7 @@ err:
522} 522}
523EXPORT_SYMBOL_GPL(mxs_pinctrl_probe); 523EXPORT_SYMBOL_GPL(mxs_pinctrl_probe);
524 524
525int __devexit mxs_pinctrl_remove(struct platform_device *pdev) 525int mxs_pinctrl_remove(struct platform_device *pdev)
526{ 526{
527 struct mxs_pinctrl_data *d = platform_get_drvdata(pdev); 527 struct mxs_pinctrl_data *d = platform_get_drvdata(pdev);
528 528
diff --git a/drivers/pinctrl/pinctrl-pxa168.c b/drivers/pinctrl/pinctrl-pxa168.c
index c1997fa7f28c..cb771e4a6355 100644
--- a/drivers/pinctrl/pinctrl-pxa168.c
+++ b/drivers/pinctrl/pinctrl-pxa168.c
@@ -620,7 +620,7 @@ static int __devinit pxa168_pinmux_probe(struct platform_device *pdev)
620 return pxa3xx_pinctrl_register(pdev, &pxa168_info); 620 return pxa3xx_pinctrl_register(pdev, &pxa168_info);
621} 621}
622 622
623static int __devexit pxa168_pinmux_remove(struct platform_device *pdev) 623static int pxa168_pinmux_remove(struct platform_device *pdev)
624{ 624{
625 return pxa3xx_pinctrl_unregister(pdev); 625 return pxa3xx_pinctrl_unregister(pdev);
626} 626}
@@ -631,7 +631,7 @@ static struct platform_driver pxa168_pinmux_driver = {
631 .owner = THIS_MODULE, 631 .owner = THIS_MODULE,
632 }, 632 },
633 .probe = pxa168_pinmux_probe, 633 .probe = pxa168_pinmux_probe,
634 .remove = __devexit_p(pxa168_pinmux_remove), 634 .remove = pxa168_pinmux_remove,
635}; 635};
636 636
637static int __init pxa168_pinmux_init(void) 637static int __init pxa168_pinmux_init(void)
diff --git a/drivers/pinctrl/pinctrl-pxa910.c b/drivers/pinctrl/pinctrl-pxa910.c
index c72ab4b9cc8c..5fecd221b830 100644
--- a/drivers/pinctrl/pinctrl-pxa910.c
+++ b/drivers/pinctrl/pinctrl-pxa910.c
@@ -976,7 +976,7 @@ static int __devinit pxa910_pinmux_probe(struct platform_device *pdev)
976 return pxa3xx_pinctrl_register(pdev, &pxa910_info); 976 return pxa3xx_pinctrl_register(pdev, &pxa910_info);
977} 977}
978 978
979static int __devexit pxa910_pinmux_remove(struct platform_device *pdev) 979static int pxa910_pinmux_remove(struct platform_device *pdev)
980{ 980{
981 return pxa3xx_pinctrl_unregister(pdev); 981 return pxa3xx_pinctrl_unregister(pdev);
982} 982}
@@ -987,7 +987,7 @@ static struct platform_driver pxa910_pinmux_driver = {
987 .owner = THIS_MODULE, 987 .owner = THIS_MODULE,
988 }, 988 },
989 .probe = pxa910_pinmux_probe, 989 .probe = pxa910_pinmux_probe,
990 .remove = __devexit_p(pxa910_pinmux_remove), 990 .remove = pxa910_pinmux_remove,
991}; 991};
992 992
993static int __init pxa910_pinmux_init(void) 993static int __init pxa910_pinmux_init(void)
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 554946356fba..79642831bba2 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1062,7 +1062,7 @@ free:
1062 return ret; 1062 return ret;
1063} 1063}
1064 1064
1065static int __devexit pcs_remove(struct platform_device *pdev) 1065static int pcs_remove(struct platform_device *pdev)
1066{ 1066{
1067 struct pcs_device *pcs = platform_get_drvdata(pdev); 1067 struct pcs_device *pcs = platform_get_drvdata(pdev);
1068 1068
@@ -1074,7 +1074,7 @@ static int __devexit pcs_remove(struct platform_device *pdev)
1074 return 0; 1074 return 0;
1075} 1075}
1076 1076
1077static struct of_device_id pcs_of_match[] __devinitdata = { 1077static struct of_device_id pcs_of_match[] = {
1078 { .compatible = DRIVER_NAME, }, 1078 { .compatible = DRIVER_NAME, },
1079 { }, 1079 { },
1080}; 1080};
@@ -1082,7 +1082,7 @@ MODULE_DEVICE_TABLE(of, pcs_of_match);
1082 1082
1083static struct platform_driver pcs_driver = { 1083static struct platform_driver pcs_driver = {
1084 .probe = pcs_probe, 1084 .probe = pcs_probe,
1085 .remove = __devexit_p(pcs_remove), 1085 .remove = pcs_remove,
1086 .driver = { 1086 .driver = {
1087 .owner = THIS_MODULE, 1087 .owner = THIS_MODULE,
1088 .name = DRIVER_NAME, 1088 .name = DRIVER_NAME,
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
index a3905e58d1b3..a4f0c5e487d5 100644
--- a/drivers/pinctrl/pinctrl-sirf.c
+++ b/drivers/pinctrl/pinctrl-sirf.c
@@ -1305,7 +1305,7 @@ out_no_gpio_remap:
1305 return ret; 1305 return ret;
1306} 1306}
1307 1307
1308static const struct of_device_id pinmux_ids[] __devinitconst = { 1308static const struct of_device_id pinmux_ids[] = {
1309 { .compatible = "sirf,prima2-pinctrl" }, 1309 { .compatible = "sirf,prima2-pinctrl" },
1310 { .compatible = "sirf,marco-pinctrl" }, 1310 { .compatible = "sirf,marco-pinctrl" },
1311 {} 1311 {}
diff --git a/drivers/pinctrl/pinctrl-tegra.c b/drivers/pinctrl/pinctrl-tegra.c
index e9f80a54b3d0..e356b0380fa7 100644
--- a/drivers/pinctrl/pinctrl-tegra.c
+++ b/drivers/pinctrl/pinctrl-tegra.c
@@ -760,7 +760,7 @@ int __devinit tegra_pinctrl_probe(struct platform_device *pdev,
760} 760}
761EXPORT_SYMBOL_GPL(tegra_pinctrl_probe); 761EXPORT_SYMBOL_GPL(tegra_pinctrl_probe);
762 762
763int __devexit tegra_pinctrl_remove(struct platform_device *pdev) 763int tegra_pinctrl_remove(struct platform_device *pdev)
764{ 764{
765 struct tegra_pmx *pmx = platform_get_drvdata(pdev); 765 struct tegra_pmx *pmx = platform_get_drvdata(pdev);
766 766
diff --git a/drivers/pinctrl/pinctrl-tegra20.c b/drivers/pinctrl/pinctrl-tegra20.c
index a74f9a568536..1524bfd66602 100644
--- a/drivers/pinctrl/pinctrl-tegra20.c
+++ b/drivers/pinctrl/pinctrl-tegra20.c
@@ -2861,7 +2861,7 @@ static int __devinit tegra20_pinctrl_probe(struct platform_device *pdev)
2861 return tegra_pinctrl_probe(pdev, &tegra20_pinctrl); 2861 return tegra_pinctrl_probe(pdev, &tegra20_pinctrl);
2862} 2862}
2863 2863
2864static struct of_device_id tegra20_pinctrl_of_match[] __devinitdata = { 2864static struct of_device_id tegra20_pinctrl_of_match[] = {
2865 { .compatible = "nvidia,tegra20-pinmux", }, 2865 { .compatible = "nvidia,tegra20-pinmux", },
2866 { }, 2866 { },
2867}; 2867};
@@ -2873,7 +2873,7 @@ static struct platform_driver tegra20_pinctrl_driver = {
2873 .of_match_table = tegra20_pinctrl_of_match, 2873 .of_match_table = tegra20_pinctrl_of_match,
2874 }, 2874 },
2875 .probe = tegra20_pinctrl_probe, 2875 .probe = tegra20_pinctrl_probe,
2876 .remove = __devexit_p(tegra_pinctrl_remove), 2876 .remove = tegra_pinctrl_remove,
2877}; 2877};
2878 2878
2879static int __init tegra20_pinctrl_init(void) 2879static int __init tegra20_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-tegra30.c b/drivers/pinctrl/pinctrl-tegra30.c
index 7894f14c7059..cf579ebf346f 100644
--- a/drivers/pinctrl/pinctrl-tegra30.c
+++ b/drivers/pinctrl/pinctrl-tegra30.c
@@ -3727,7 +3727,7 @@ static int __devinit tegra30_pinctrl_probe(struct platform_device *pdev)
3727 return tegra_pinctrl_probe(pdev, &tegra30_pinctrl); 3727 return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
3728} 3728}
3729 3729
3730static struct of_device_id tegra30_pinctrl_of_match[] __devinitdata = { 3730static struct of_device_id tegra30_pinctrl_of_match[] = {
3731 { .compatible = "nvidia,tegra30-pinmux", }, 3731 { .compatible = "nvidia,tegra30-pinmux", },
3732 { }, 3732 { },
3733}; 3733};
@@ -3739,7 +3739,7 @@ static struct platform_driver tegra30_pinctrl_driver = {
3739 .of_match_table = tegra30_pinctrl_of_match, 3739 .of_match_table = tegra30_pinctrl_of_match,
3740 }, 3740 },
3741 .probe = tegra30_pinctrl_probe, 3741 .probe = tegra30_pinctrl_probe,
3742 .remove = __devexit_p(tegra_pinctrl_remove), 3742 .remove = tegra_pinctrl_remove,
3743}; 3743};
3744 3744
3745static int __init tegra30_pinctrl_init(void) 3745static int __init tegra30_pinctrl_init(void)
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c
index b84de03ed54d..8c039ad22baf 100644
--- a/drivers/pinctrl/pinctrl-u300.c
+++ b/drivers/pinctrl/pinctrl-u300.c
@@ -1095,7 +1095,7 @@ static int __devinit u300_pmx_probe(struct platform_device *pdev)
1095 return 0; 1095 return 0;
1096} 1096}
1097 1097
1098static int __devexit u300_pmx_remove(struct platform_device *pdev) 1098static int u300_pmx_remove(struct platform_device *pdev)
1099{ 1099{
1100 struct u300_pmx *upmx = platform_get_drvdata(pdev); 1100 struct u300_pmx *upmx = platform_get_drvdata(pdev);
1101 1101
@@ -1111,7 +1111,7 @@ static struct platform_driver u300_pmx_driver = {
1111 .owner = THIS_MODULE, 1111 .owner = THIS_MODULE,
1112 }, 1112 },
1113 .probe = u300_pmx_probe, 1113 .probe = u300_pmx_probe,
1114 .remove = __devexit_p(u300_pmx_remove), 1114 .remove = u300_pmx_remove,
1115}; 1115};
1116 1116
1117static int __init u300_pmx_init(void) 1117static int __init u300_pmx_init(void)
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)