diff options
Diffstat (limited to 'drivers/pinctrl')
39 files changed, 114 insertions, 120 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c index c907647de6ad..48e21a229483 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-370.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-370.c | |||
| @@ -367,7 +367,7 @@ static struct mvebu_mpp_mode mv88f6710_mpp_modes[] = { | |||
| 367 | 367 | ||
| 368 | static struct mvebu_pinctrl_soc_info armada_370_pinctrl_info; | 368 | static struct mvebu_pinctrl_soc_info armada_370_pinctrl_info; |
| 369 | 369 | ||
| 370 | static struct of_device_id armada_370_pinctrl_of_match[] __devinitdata = { | 370 | static struct of_device_id armada_370_pinctrl_of_match[] = { |
| 371 | { .compatible = "marvell,mv88f6710-pinctrl" }, | 371 | { .compatible = "marvell,mv88f6710-pinctrl" }, |
| 372 | { }, | 372 | { }, |
| 373 | }; | 373 | }; |
| @@ -382,7 +382,7 @@ static struct pinctrl_gpio_range mv88f6710_mpp_gpio_ranges[] = { | |||
| 382 | MPP_GPIO_RANGE(2, 64, 64, 2), | 382 | MPP_GPIO_RANGE(2, 64, 64, 2), |
| 383 | }; | 383 | }; |
| 384 | 384 | ||
| 385 | static int __devinit armada_370_pinctrl_probe(struct platform_device *pdev) | 385 | static int armada_370_pinctrl_probe(struct platform_device *pdev) |
| 386 | { | 386 | { |
| 387 | struct mvebu_pinctrl_soc_info *soc = &armada_370_pinctrl_info; | 387 | struct mvebu_pinctrl_soc_info *soc = &armada_370_pinctrl_info; |
| 388 | 388 | ||
| @@ -399,7 +399,7 @@ static int __devinit armada_370_pinctrl_probe(struct platform_device *pdev) | |||
| 399 | return mvebu_pinctrl_probe(pdev); | 399 | return mvebu_pinctrl_probe(pdev); |
| 400 | } | 400 | } |
| 401 | 401 | ||
| 402 | static int __devexit armada_370_pinctrl_remove(struct platform_device *pdev) | 402 | static int armada_370_pinctrl_remove(struct platform_device *pdev) |
| 403 | { | 403 | { |
| 404 | return mvebu_pinctrl_remove(pdev); | 404 | return mvebu_pinctrl_remove(pdev); |
| 405 | } | 405 | } |
| @@ -411,7 +411,7 @@ static struct platform_driver armada_370_pinctrl_driver = { | |||
| 411 | .of_match_table = of_match_ptr(armada_370_pinctrl_of_match), | 411 | .of_match_table = of_match_ptr(armada_370_pinctrl_of_match), |
| 412 | }, | 412 | }, |
| 413 | .probe = armada_370_pinctrl_probe, | 413 | .probe = armada_370_pinctrl_probe, |
| 414 | .remove = __devexit_p(armada_370_pinctrl_remove), | 414 | .remove = armada_370_pinctrl_remove, |
| 415 | }; | 415 | }; |
| 416 | 416 | ||
| 417 | module_platform_driver(armada_370_pinctrl_driver); | 417 | module_platform_driver(armada_370_pinctrl_driver); |
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c index 40bd52a46b4e..ab5dc04b3e8a 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c | |||
| @@ -349,7 +349,7 @@ static struct mvebu_mpp_mode armada_xp_mpp_modes[] = { | |||
| 349 | 349 | ||
| 350 | static struct mvebu_pinctrl_soc_info armada_xp_pinctrl_info; | 350 | static struct mvebu_pinctrl_soc_info armada_xp_pinctrl_info; |
| 351 | 351 | ||
| 352 | static struct of_device_id armada_xp_pinctrl_of_match[] __devinitdata = { | 352 | static struct of_device_id armada_xp_pinctrl_of_match[] = { |
| 353 | { | 353 | { |
| 354 | .compatible = "marvell,mv78230-pinctrl", | 354 | .compatible = "marvell,mv78230-pinctrl", |
| 355 | .data = (void *) V_MV78230, | 355 | .data = (void *) V_MV78230, |
| @@ -394,7 +394,7 @@ static struct pinctrl_gpio_range mv78460_mpp_gpio_ranges[] = { | |||
| 394 | MPP_GPIO_RANGE(2, 64, 64, 3), | 394 | MPP_GPIO_RANGE(2, 64, 64, 3), |
| 395 | }; | 395 | }; |
| 396 | 396 | ||
| 397 | static int __devinit armada_xp_pinctrl_probe(struct platform_device *pdev) | 397 | static int armada_xp_pinctrl_probe(struct platform_device *pdev) |
| 398 | { | 398 | { |
| 399 | struct mvebu_pinctrl_soc_info *soc = &armada_xp_pinctrl_info; | 399 | struct mvebu_pinctrl_soc_info *soc = &armada_xp_pinctrl_info; |
| 400 | const struct of_device_id *match = | 400 | const struct of_device_id *match = |
| @@ -446,7 +446,7 @@ static int __devinit armada_xp_pinctrl_probe(struct platform_device *pdev) | |||
| 446 | return mvebu_pinctrl_probe(pdev); | 446 | return mvebu_pinctrl_probe(pdev); |
| 447 | } | 447 | } |
| 448 | 448 | ||
| 449 | static int __devexit armada_xp_pinctrl_remove(struct platform_device *pdev) | 449 | static int armada_xp_pinctrl_remove(struct platform_device *pdev) |
| 450 | { | 450 | { |
| 451 | return mvebu_pinctrl_remove(pdev); | 451 | return mvebu_pinctrl_remove(pdev); |
| 452 | } | 452 | } |
| @@ -458,7 +458,7 @@ static struct platform_driver armada_xp_pinctrl_driver = { | |||
| 458 | .of_match_table = of_match_ptr(armada_xp_pinctrl_of_match), | 458 | .of_match_table = of_match_ptr(armada_xp_pinctrl_of_match), |
| 459 | }, | 459 | }, |
| 460 | .probe = armada_xp_pinctrl_probe, | 460 | .probe = armada_xp_pinctrl_probe, |
| 461 | .remove = __devexit_p(armada_xp_pinctrl_remove), | 461 | .remove = armada_xp_pinctrl_remove, |
| 462 | }; | 462 | }; |
| 463 | 463 | ||
| 464 | module_platform_driver(armada_xp_pinctrl_driver); | 464 | module_platform_driver(armada_xp_pinctrl_driver); |
diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c index 40c9c3eecd94..750dea78f53a 100644 --- a/drivers/pinctrl/mvebu/pinctrl-dove.c +++ b/drivers/pinctrl/mvebu/pinctrl-dove.c | |||
| @@ -579,12 +579,12 @@ static struct mvebu_pinctrl_soc_info dove_pinctrl_info = { | |||
| 579 | 579 | ||
| 580 | static struct clk *clk; | 580 | static struct clk *clk; |
| 581 | 581 | ||
| 582 | static struct of_device_id dove_pinctrl_of_match[] __devinitdata = { | 582 | static struct of_device_id dove_pinctrl_of_match[] = { |
| 583 | { .compatible = "marvell,dove-pinctrl", .data = &dove_pinctrl_info }, | 583 | { .compatible = "marvell,dove-pinctrl", .data = &dove_pinctrl_info }, |
| 584 | { } | 584 | { } |
| 585 | }; | 585 | }; |
| 586 | 586 | ||
| 587 | static int __devinit dove_pinctrl_probe(struct platform_device *pdev) | 587 | static int dove_pinctrl_probe(struct platform_device *pdev) |
| 588 | { | 588 | { |
| 589 | const struct of_device_id *match = | 589 | const struct of_device_id *match = |
| 590 | of_match_device(dove_pinctrl_of_match, &pdev->dev); | 590 | of_match_device(dove_pinctrl_of_match, &pdev->dev); |
| @@ -601,7 +601,7 @@ static int __devinit dove_pinctrl_probe(struct platform_device *pdev) | |||
| 601 | return mvebu_pinctrl_probe(pdev); | 601 | return mvebu_pinctrl_probe(pdev); |
| 602 | } | 602 | } |
| 603 | 603 | ||
| 604 | static int __devexit dove_pinctrl_remove(struct platform_device *pdev) | 604 | static int dove_pinctrl_remove(struct platform_device *pdev) |
| 605 | { | 605 | { |
| 606 | int ret; | 606 | int ret; |
| 607 | 607 | ||
| @@ -618,7 +618,7 @@ static struct platform_driver dove_pinctrl_driver = { | |||
| 618 | .of_match_table = of_match_ptr(dove_pinctrl_of_match), | 618 | .of_match_table = of_match_ptr(dove_pinctrl_of_match), |
| 619 | }, | 619 | }, |
| 620 | .probe = dove_pinctrl_probe, | 620 | .probe = dove_pinctrl_probe, |
| 621 | .remove = __devexit_p(dove_pinctrl_remove), | 621 | .remove = dove_pinctrl_remove, |
| 622 | }; | 622 | }; |
| 623 | 623 | ||
| 624 | module_platform_driver(dove_pinctrl_driver); | 624 | module_platform_driver(dove_pinctrl_driver); |
diff --git a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c index fa6ce31c94d9..f12084e18057 100644 --- a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c +++ b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c | |||
| @@ -444,7 +444,7 @@ static struct mvebu_pinctrl_soc_info mv98dx4122_info = { | |||
| 444 | .ngpioranges = ARRAY_SIZE(mv88f628x_gpio_ranges), | 444 | .ngpioranges = ARRAY_SIZE(mv88f628x_gpio_ranges), |
| 445 | }; | 445 | }; |
| 446 | 446 | ||
| 447 | static struct of_device_id kirkwood_pinctrl_of_match[] __devinitdata = { | 447 | static struct of_device_id kirkwood_pinctrl_of_match[] = { |
| 448 | { .compatible = "marvell,88f6180-pinctrl", .data = &mv88f6180_info }, | 448 | { .compatible = "marvell,88f6180-pinctrl", .data = &mv88f6180_info }, |
| 449 | { .compatible = "marvell,88f6190-pinctrl", .data = &mv88f6190_info }, | 449 | { .compatible = "marvell,88f6190-pinctrl", .data = &mv88f6190_info }, |
| 450 | { .compatible = "marvell,88f6192-pinctrl", .data = &mv88f6192_info }, | 450 | { .compatible = "marvell,88f6192-pinctrl", .data = &mv88f6192_info }, |
| @@ -454,7 +454,7 @@ static struct of_device_id kirkwood_pinctrl_of_match[] __devinitdata = { | |||
| 454 | { } | 454 | { } |
| 455 | }; | 455 | }; |
| 456 | 456 | ||
| 457 | static int __devinit kirkwood_pinctrl_probe(struct platform_device *pdev) | 457 | static int kirkwood_pinctrl_probe(struct platform_device *pdev) |
| 458 | { | 458 | { |
| 459 | const struct of_device_id *match = | 459 | const struct of_device_id *match = |
| 460 | of_match_device(kirkwood_pinctrl_of_match, &pdev->dev); | 460 | of_match_device(kirkwood_pinctrl_of_match, &pdev->dev); |
| @@ -462,7 +462,7 @@ static int __devinit kirkwood_pinctrl_probe(struct platform_device *pdev) | |||
| 462 | return mvebu_pinctrl_probe(pdev); | 462 | return mvebu_pinctrl_probe(pdev); |
| 463 | } | 463 | } |
| 464 | 464 | ||
| 465 | static int __devexit kirkwood_pinctrl_remove(struct platform_device *pdev) | 465 | static int kirkwood_pinctrl_remove(struct platform_device *pdev) |
| 466 | { | 466 | { |
| 467 | return mvebu_pinctrl_remove(pdev); | 467 | return mvebu_pinctrl_remove(pdev); |
| 468 | } | 468 | } |
| @@ -474,7 +474,7 @@ static struct platform_driver kirkwood_pinctrl_driver = { | |||
| 474 | .of_match_table = of_match_ptr(kirkwood_pinctrl_of_match), | 474 | .of_match_table = of_match_ptr(kirkwood_pinctrl_of_match), |
| 475 | }, | 475 | }, |
| 476 | .probe = kirkwood_pinctrl_probe, | 476 | .probe = kirkwood_pinctrl_probe, |
| 477 | .remove = __devexit_p(kirkwood_pinctrl_remove), | 477 | .remove = kirkwood_pinctrl_remove, |
| 478 | }; | 478 | }; |
| 479 | 479 | ||
| 480 | module_platform_driver(kirkwood_pinctrl_driver); | 480 | module_platform_driver(kirkwood_pinctrl_driver); |
diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.c b/drivers/pinctrl/mvebu/pinctrl-mvebu.c index 6c44b7e8964c..c689c04a4f52 100644 --- a/drivers/pinctrl/mvebu/pinctrl-mvebu.c +++ b/drivers/pinctrl/mvebu/pinctrl-mvebu.c | |||
| @@ -478,8 +478,7 @@ static struct pinctrl_ops mvebu_pinctrl_ops = { | |||
| 478 | .dt_free_map = mvebu_pinctrl_dt_free_map, | 478 | .dt_free_map = mvebu_pinctrl_dt_free_map, |
| 479 | }; | 479 | }; |
| 480 | 480 | ||
| 481 | static int __devinit _add_function(struct mvebu_pinctrl_function *funcs, | 481 | static int _add_function(struct mvebu_pinctrl_function *funcs, const char *name) |
| 482 | const char *name) | ||
| 483 | { | 482 | { |
| 484 | while (funcs->num_groups) { | 483 | while (funcs->num_groups) { |
| 485 | /* function already there */ | 484 | /* function already there */ |
| @@ -494,8 +493,8 @@ static int __devinit _add_function(struct mvebu_pinctrl_function *funcs, | |||
| 494 | return 0; | 493 | return 0; |
| 495 | } | 494 | } |
| 496 | 495 | ||
| 497 | static int __devinit mvebu_pinctrl_build_functions(struct platform_device *pdev, | 496 | static int mvebu_pinctrl_build_functions(struct platform_device *pdev, |
| 498 | struct mvebu_pinctrl *pctl) | 497 | struct mvebu_pinctrl *pctl) |
| 499 | { | 498 | { |
| 500 | struct mvebu_pinctrl_function *funcs; | 499 | struct mvebu_pinctrl_function *funcs; |
| 501 | int num = 0; | 500 | int num = 0; |
| @@ -568,7 +567,7 @@ static int __devinit mvebu_pinctrl_build_functions(struct platform_device *pdev, | |||
| 568 | return 0; | 567 | return 0; |
| 569 | } | 568 | } |
| 570 | 569 | ||
| 571 | int __devinit mvebu_pinctrl_probe(struct platform_device *pdev) | 570 | int mvebu_pinctrl_probe(struct platform_device *pdev) |
| 572 | { | 571 | { |
| 573 | struct mvebu_pinctrl_soc_info *soc = dev_get_platdata(&pdev->dev); | 572 | struct mvebu_pinctrl_soc_info *soc = dev_get_platdata(&pdev->dev); |
| 574 | struct device_node *np = pdev->dev.of_node; | 573 | struct device_node *np = pdev->dev.of_node; |
| @@ -745,7 +744,7 @@ int __devinit mvebu_pinctrl_probe(struct platform_device *pdev) | |||
| 745 | return 0; | 744 | return 0; |
| 746 | } | 745 | } |
| 747 | 746 | ||
| 748 | int __devexit mvebu_pinctrl_remove(struct platform_device *pdev) | 747 | int mvebu_pinctrl_remove(struct platform_device *pdev) |
| 749 | { | 748 | { |
| 750 | struct mvebu_pinctrl *pctl = platform_get_drvdata(pdev); | 749 | struct mvebu_pinctrl *pctl = platform_get_drvdata(pdev); |
| 751 | pinctrl_unregister(pctl->pctldev); | 750 | pinctrl_unregister(pctl->pctldev); |
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index c5e757157183..5e224974125d 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c | |||
| @@ -792,8 +792,8 @@ static struct pinctrl_desc at91_pinctrl_desc = { | |||
| 792 | 792 | ||
| 793 | static const char *gpio_compat = "atmel,at91rm9200-gpio"; | 793 | static const char *gpio_compat = "atmel,at91rm9200-gpio"; |
| 794 | 794 | ||
| 795 | static void __devinit at91_pinctrl_child_count(struct at91_pinctrl *info, | 795 | static void at91_pinctrl_child_count(struct at91_pinctrl *info, |
| 796 | struct device_node *np) | 796 | struct device_node *np) |
| 797 | { | 797 | { |
| 798 | struct device_node *child; | 798 | struct device_node *child; |
| 799 | 799 | ||
| @@ -807,8 +807,8 @@ static void __devinit at91_pinctrl_child_count(struct at91_pinctrl *info, | |||
| 807 | } | 807 | } |
| 808 | } | 808 | } |
| 809 | 809 | ||
| 810 | static int __devinit at91_pinctrl_mux_mask(struct at91_pinctrl *info, | 810 | static int at91_pinctrl_mux_mask(struct at91_pinctrl *info, |
| 811 | struct device_node *np) | 811 | struct device_node *np) |
| 812 | { | 812 | { |
| 813 | int ret = 0; | 813 | int ret = 0; |
| 814 | int size; | 814 | int size; |
| @@ -840,10 +840,9 @@ static int __devinit at91_pinctrl_mux_mask(struct at91_pinctrl *info, | |||
| 840 | return ret; | 840 | return ret; |
| 841 | } | 841 | } |
| 842 | 842 | ||
| 843 | static int __devinit at91_pinctrl_parse_groups(struct device_node *np, | 843 | static int at91_pinctrl_parse_groups(struct device_node *np, |
| 844 | struct at91_pin_group *grp, | 844 | struct at91_pin_group *grp, |
| 845 | struct at91_pinctrl *info, | 845 | struct at91_pinctrl *info, u32 index) |
| 846 | u32 index) | ||
| 847 | { | 846 | { |
| 848 | struct at91_pmx_pin *pin; | 847 | struct at91_pmx_pin *pin; |
| 849 | int size; | 848 | int size; |
| @@ -889,8 +888,8 @@ static int __devinit at91_pinctrl_parse_groups(struct device_node *np, | |||
| 889 | return 0; | 888 | return 0; |
| 890 | } | 889 | } |
| 891 | 890 | ||
| 892 | static int __devinit at91_pinctrl_parse_functions(struct device_node *np, | 891 | static int at91_pinctrl_parse_functions(struct device_node *np, |
| 893 | struct at91_pinctrl *info, u32 index) | 892 | struct at91_pinctrl *info, u32 index) |
| 894 | { | 893 | { |
| 895 | struct device_node *child; | 894 | struct device_node *child; |
| 896 | struct at91_pmx_func *func; | 895 | struct at91_pmx_func *func; |
| @@ -926,14 +925,14 @@ static int __devinit at91_pinctrl_parse_functions(struct device_node *np, | |||
| 926 | return 0; | 925 | return 0; |
| 927 | } | 926 | } |
| 928 | 927 | ||
| 929 | static struct of_device_id at91_pinctrl_of_match[] __devinitdata = { | 928 | static struct of_device_id at91_pinctrl_of_match[] = { |
| 930 | { .compatible = "atmel,at91sam9x5-pinctrl", .data = &at91sam9x5_ops }, | 929 | { .compatible = "atmel,at91sam9x5-pinctrl", .data = &at91sam9x5_ops }, |
| 931 | { .compatible = "atmel,at91rm9200-pinctrl", .data = &at91rm9200_ops }, | 930 | { .compatible = "atmel,at91rm9200-pinctrl", .data = &at91rm9200_ops }, |
| 932 | { /* sentinel */ } | 931 | { /* sentinel */ } |
| 933 | }; | 932 | }; |
| 934 | 933 | ||
| 935 | static int __devinit at91_pinctrl_probe_dt(struct platform_device *pdev, | 934 | static int at91_pinctrl_probe_dt(struct platform_device *pdev, |
| 936 | struct at91_pinctrl *info) | 935 | struct at91_pinctrl *info) |
| 937 | { | 936 | { |
| 938 | int ret = 0; | 937 | int ret = 0; |
| 939 | int i, j; | 938 | int i, j; |
| @@ -999,7 +998,7 @@ static int __devinit at91_pinctrl_probe_dt(struct platform_device *pdev, | |||
| 999 | return 0; | 998 | return 0; |
| 1000 | } | 999 | } |
| 1001 | 1000 | ||
| 1002 | static int __devinit at91_pinctrl_probe(struct platform_device *pdev) | 1001 | static int at91_pinctrl_probe(struct platform_device *pdev) |
| 1003 | { | 1002 | { |
| 1004 | struct at91_pinctrl *info; | 1003 | struct at91_pinctrl *info; |
| 1005 | struct pinctrl_pin_desc *pdesc; | 1004 | struct pinctrl_pin_desc *pdesc; |
| @@ -1063,7 +1062,7 @@ err: | |||
| 1063 | return ret; | 1062 | return ret; |
| 1064 | } | 1063 | } |
| 1065 | 1064 | ||
| 1066 | static int __devexit at91_pinctrl_remove(struct platform_device *pdev) | 1065 | static int at91_pinctrl_remove(struct platform_device *pdev) |
| 1067 | { | 1066 | { |
| 1068 | struct at91_pinctrl *info = platform_get_drvdata(pdev); | 1067 | struct at91_pinctrl *info = platform_get_drvdata(pdev); |
| 1069 | 1068 | ||
| @@ -1443,7 +1442,7 @@ static struct gpio_chip at91_gpio_template = { | |||
| 1443 | .ngpio = MAX_NB_GPIO_PER_BANK, | 1442 | .ngpio = MAX_NB_GPIO_PER_BANK, |
| 1444 | }; | 1443 | }; |
| 1445 | 1444 | ||
| 1446 | static void __devinit at91_gpio_probe_fixup(void) | 1445 | static void at91_gpio_probe_fixup(void) |
| 1447 | { | 1446 | { |
| 1448 | unsigned i; | 1447 | unsigned i; |
| 1449 | struct at91_gpio_chip *at91_gpio, *last = NULL; | 1448 | struct at91_gpio_chip *at91_gpio, *last = NULL; |
| @@ -1461,13 +1460,13 @@ static void __devinit at91_gpio_probe_fixup(void) | |||
| 1461 | } | 1460 | } |
| 1462 | } | 1461 | } |
| 1463 | 1462 | ||
| 1464 | static struct of_device_id at91_gpio_of_match[] __devinitdata = { | 1463 | static struct of_device_id at91_gpio_of_match[] = { |
| 1465 | { .compatible = "atmel,at91sam9x5-gpio", .data = &at91sam9x5_ops, }, | 1464 | { .compatible = "atmel,at91sam9x5-gpio", .data = &at91sam9x5_ops, }, |
| 1466 | { .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops }, | 1465 | { .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops }, |
| 1467 | { /* sentinel */ } | 1466 | { /* sentinel */ } |
| 1468 | }; | 1467 | }; |
| 1469 | 1468 | ||
| 1470 | static int __devinit at91_gpio_probe(struct platform_device *pdev) | 1469 | static int at91_gpio_probe(struct platform_device *pdev) |
| 1471 | { | 1470 | { |
| 1472 | struct device_node *np = pdev->dev.of_node; | 1471 | struct device_node *np = pdev->dev.of_node; |
| 1473 | struct resource *res; | 1472 | struct resource *res; |
| @@ -1609,7 +1608,7 @@ static struct platform_driver at91_pinctrl_driver = { | |||
| 1609 | .of_match_table = of_match_ptr(at91_pinctrl_of_match), | 1608 | .of_match_table = of_match_ptr(at91_pinctrl_of_match), |
| 1610 | }, | 1609 | }, |
| 1611 | .probe = at91_pinctrl_probe, | 1610 | .probe = at91_pinctrl_probe, |
| 1612 | .remove = __devexit_p(at91_pinctrl_remove), | 1611 | .remove = at91_pinctrl_remove, |
| 1613 | }; | 1612 | }; |
| 1614 | 1613 | ||
| 1615 | static int __init at91_pinctrl_init(void) | 1614 | static int __init at91_pinctrl_init(void) |
diff --git a/drivers/pinctrl/pinctrl-bcm2835.c b/drivers/pinctrl/pinctrl-bcm2835.c index 0b0e9b49a1b5..d347b9f2eae3 100644 --- a/drivers/pinctrl/pinctrl-bcm2835.c +++ b/drivers/pinctrl/pinctrl-bcm2835.c | |||
| @@ -936,7 +936,7 @@ static struct pinctrl_gpio_range bcm2835_pinctrl_gpio_range = { | |||
| 936 | .npins = BCM2835_NUM_GPIOS, | 936 | .npins = BCM2835_NUM_GPIOS, |
| 937 | }; | 937 | }; |
| 938 | 938 | ||
| 939 | static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev) | 939 | static int bcm2835_pinctrl_probe(struct platform_device *pdev) |
| 940 | { | 940 | { |
| 941 | struct device *dev = &pdev->dev; | 941 | struct device *dev = &pdev->dev; |
| 942 | struct device_node *np = dev->of_node; | 942 | struct device_node *np = dev->of_node; |
diff --git a/drivers/pinctrl/pinctrl-exynos5440.c b/drivers/pinctrl/pinctrl-exynos5440.c index 07db89528dc3..de05b64f0da6 100644 --- a/drivers/pinctrl/pinctrl-exynos5440.c +++ b/drivers/pinctrl/pinctrl-exynos5440.c | |||
| @@ -842,7 +842,7 @@ static int __init exynos5440_gpiolib_unregister(struct platform_device *pdev, | |||
| 842 | return 0; | 842 | return 0; |
| 843 | } | 843 | } |
| 844 | 844 | ||
| 845 | static int __devinit exynos5440_pinctrl_probe(struct platform_device *pdev) | 845 | static int exynos5440_pinctrl_probe(struct platform_device *pdev) |
| 846 | { | 846 | { |
| 847 | struct device *dev = &pdev->dev; | 847 | struct device *dev = &pdev->dev; |
| 848 | struct exynos5440_pinctrl_priv_data *priv; | 848 | struct exynos5440_pinctrl_priv_data *priv; |
diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c index 131d86d7c2a5..43a6f1ffc786 100644 --- a/drivers/pinctrl/pinctrl-imx.c +++ b/drivers/pinctrl/pinctrl-imx.c | |||
| @@ -425,10 +425,10 @@ static int imx_pinctrl_get_pin_id_and_mux(const struct imx_pinctrl_soc_info *inf | |||
| 425 | return 0; | 425 | return 0; |
| 426 | } | 426 | } |
| 427 | 427 | ||
| 428 | static int __devinit imx_pinctrl_parse_groups(struct device_node *np, | 428 | static int imx_pinctrl_parse_groups(struct device_node *np, |
| 429 | struct imx_pin_group *grp, | 429 | struct imx_pin_group *grp, |
| 430 | struct imx_pinctrl_soc_info *info, | 430 | struct imx_pinctrl_soc_info *info, |
| 431 | u32 index) | 431 | u32 index) |
| 432 | { | 432 | { |
| 433 | unsigned int pin_func_id; | 433 | unsigned int pin_func_id; |
| 434 | int ret, size; | 434 | int ret, size; |
| @@ -482,8 +482,9 @@ static int __devinit imx_pinctrl_parse_groups(struct device_node *np, | |||
| 482 | return 0; | 482 | return 0; |
| 483 | } | 483 | } |
| 484 | 484 | ||
| 485 | static int __devinit imx_pinctrl_parse_functions(struct device_node *np, | 485 | static int imx_pinctrl_parse_functions(struct device_node *np, |
| 486 | struct imx_pinctrl_soc_info *info, u32 index) | 486 | struct imx_pinctrl_soc_info *info, |
| 487 | u32 index) | ||
| 487 | { | 488 | { |
| 488 | struct device_node *child; | 489 | struct device_node *child; |
| 489 | struct imx_pmx_func *func; | 490 | struct imx_pmx_func *func; |
| @@ -517,7 +518,7 @@ static int __devinit imx_pinctrl_parse_functions(struct device_node *np, | |||
| 517 | return 0; | 518 | return 0; |
| 518 | } | 519 | } |
| 519 | 520 | ||
| 520 | static int __devinit imx_pinctrl_probe_dt(struct platform_device *pdev, | 521 | static int imx_pinctrl_probe_dt(struct platform_device *pdev, |
| 521 | struct imx_pinctrl_soc_info *info) | 522 | struct imx_pinctrl_soc_info *info) |
| 522 | { | 523 | { |
| 523 | struct device_node *np = pdev->dev.of_node; | 524 | struct device_node *np = pdev->dev.of_node; |
| @@ -560,8 +561,8 @@ static int __devinit imx_pinctrl_probe_dt(struct platform_device *pdev, | |||
| 560 | return 0; | 561 | return 0; |
| 561 | } | 562 | } |
| 562 | 563 | ||
| 563 | int __devinit imx_pinctrl_probe(struct platform_device *pdev, | 564 | int imx_pinctrl_probe(struct platform_device *pdev, |
| 564 | struct imx_pinctrl_soc_info *info) | 565 | struct imx_pinctrl_soc_info *info) |
| 565 | { | 566 | { |
| 566 | struct imx_pinctrl *ipctl; | 567 | struct imx_pinctrl *ipctl; |
| 567 | struct resource *res; | 568 | struct resource *res; |
diff --git a/drivers/pinctrl/pinctrl-imx23.c b/drivers/pinctrl/pinctrl-imx23.c index 04364f7822b7..e76d75c9d1ba 100644 --- a/drivers/pinctrl/pinctrl-imx23.c +++ b/drivers/pinctrl/pinctrl-imx23.c | |||
| @@ -267,7 +267,7 @@ static struct mxs_pinctrl_soc_data imx23_pinctrl_data = { | |||
| 267 | .npins = ARRAY_SIZE(imx23_pins), | 267 | .npins = ARRAY_SIZE(imx23_pins), |
| 268 | }; | 268 | }; |
| 269 | 269 | ||
| 270 | static int __devinit imx23_pinctrl_probe(struct platform_device *pdev) | 270 | static int imx23_pinctrl_probe(struct platform_device *pdev) |
| 271 | { | 271 | { |
| 272 | return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data); | 272 | return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data); |
| 273 | } | 273 | } |
diff --git a/drivers/pinctrl/pinctrl-imx28.c b/drivers/pinctrl/pinctrl-imx28.c index e1af2ba89004..79c9c8d296af 100644 --- a/drivers/pinctrl/pinctrl-imx28.c +++ b/drivers/pinctrl/pinctrl-imx28.c | |||
| @@ -383,7 +383,7 @@ static struct mxs_pinctrl_soc_data imx28_pinctrl_data = { | |||
| 383 | .npins = ARRAY_SIZE(imx28_pins), | 383 | .npins = ARRAY_SIZE(imx28_pins), |
| 384 | }; | 384 | }; |
| 385 | 385 | ||
| 386 | static int __devinit imx28_pinctrl_probe(struct platform_device *pdev) | 386 | static int imx28_pinctrl_probe(struct platform_device *pdev) |
| 387 | { | 387 | { |
| 388 | return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data); | 388 | return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data); |
| 389 | } | 389 | } |
diff --git a/drivers/pinctrl/pinctrl-imx35.c b/drivers/pinctrl/pinctrl-imx35.c index 1dbf5278acec..6e214110e3d5 100644 --- a/drivers/pinctrl/pinctrl-imx35.c +++ b/drivers/pinctrl/pinctrl-imx35.c | |||
| @@ -1564,7 +1564,7 @@ static struct of_device_id imx35_pinctrl_of_match[] = { | |||
| 1564 | { /* sentinel */ } | 1564 | { /* sentinel */ } |
| 1565 | }; | 1565 | }; |
| 1566 | 1566 | ||
| 1567 | static int __devinit imx35_pinctrl_probe(struct platform_device *pdev) | 1567 | static int imx35_pinctrl_probe(struct platform_device *pdev) |
| 1568 | { | 1568 | { |
| 1569 | return imx_pinctrl_probe(pdev, &imx35_pinctrl_info); | 1569 | return imx_pinctrl_probe(pdev, &imx35_pinctrl_info); |
| 1570 | } | 1570 | } |
diff --git a/drivers/pinctrl/pinctrl-imx51.c b/drivers/pinctrl/pinctrl-imx51.c index 131216558a7b..9a92aaad150f 100644 --- a/drivers/pinctrl/pinctrl-imx51.c +++ b/drivers/pinctrl/pinctrl-imx51.c | |||
| @@ -1291,7 +1291,7 @@ static struct of_device_id imx51_pinctrl_of_match[] = { | |||
| 1291 | { /* sentinel */ } | 1291 | { /* sentinel */ } |
| 1292 | }; | 1292 | }; |
| 1293 | 1293 | ||
| 1294 | static int __devinit imx51_pinctrl_probe(struct platform_device *pdev) | 1294 | static int imx51_pinctrl_probe(struct platform_device *pdev) |
| 1295 | { | 1295 | { |
| 1296 | return imx_pinctrl_probe(pdev, &imx51_pinctrl_info); | 1296 | return imx_pinctrl_probe(pdev, &imx51_pinctrl_info); |
| 1297 | } | 1297 | } |
diff --git a/drivers/pinctrl/pinctrl-imx53.c b/drivers/pinctrl/pinctrl-imx53.c index ec4048691775..bfe0ba8c3296 100644 --- a/drivers/pinctrl/pinctrl-imx53.c +++ b/drivers/pinctrl/pinctrl-imx53.c | |||
| @@ -1618,7 +1618,7 @@ static struct of_device_id imx53_pinctrl_of_match[] = { | |||
| 1618 | { /* sentinel */ } | 1618 | { /* sentinel */ } |
| 1619 | }; | 1619 | }; |
| 1620 | 1620 | ||
| 1621 | static int __devinit imx53_pinctrl_probe(struct platform_device *pdev) | 1621 | static int imx53_pinctrl_probe(struct platform_device *pdev) |
| 1622 | { | 1622 | { |
| 1623 | return imx_pinctrl_probe(pdev, &imx53_pinctrl_info); | 1623 | return imx_pinctrl_probe(pdev, &imx53_pinctrl_info); |
| 1624 | } | 1624 | } |
diff --git a/drivers/pinctrl/pinctrl-imx6q.c b/drivers/pinctrl/pinctrl-imx6q.c index 844ab13c93a3..663346bb765e 100644 --- a/drivers/pinctrl/pinctrl-imx6q.c +++ b/drivers/pinctrl/pinctrl-imx6q.c | |||
| @@ -2302,7 +2302,7 @@ static struct of_device_id imx6q_pinctrl_of_match[] = { | |||
| 2302 | { /* sentinel */ } | 2302 | { /* sentinel */ } |
| 2303 | }; | 2303 | }; |
| 2304 | 2304 | ||
| 2305 | static int __devinit imx6q_pinctrl_probe(struct platform_device *pdev) | 2305 | static int imx6q_pinctrl_probe(struct platform_device *pdev) |
| 2306 | { | 2306 | { |
| 2307 | return imx_pinctrl_probe(pdev, &imx6q_pinctrl_info); | 2307 | return imx_pinctrl_probe(pdev, &imx6q_pinctrl_info); |
| 2308 | } | 2308 | } |
diff --git a/drivers/pinctrl/pinctrl-mmp2.c b/drivers/pinctrl/pinctrl-mmp2.c index 4fbb3db3f1c1..4afa56a3a51d 100644 --- a/drivers/pinctrl/pinctrl-mmp2.c +++ b/drivers/pinctrl/pinctrl-mmp2.c | |||
| @@ -686,7 +686,7 @@ static struct pxa3xx_pinmux_info mmp2_info = { | |||
| 686 | .ds_shift = MMP2_DS_SHIFT, | 686 | .ds_shift = MMP2_DS_SHIFT, |
| 687 | }; | 687 | }; |
| 688 | 688 | ||
| 689 | static int __devinit mmp2_pinmux_probe(struct platform_device *pdev) | 689 | static int mmp2_pinmux_probe(struct platform_device *pdev) |
| 690 | { | 690 | { |
| 691 | return pxa3xx_pinctrl_register(pdev, &mmp2_info); | 691 | return pxa3xx_pinctrl_register(pdev, &mmp2_info); |
| 692 | } | 692 | } |
diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c index 180f16379ec1..dd227d21dcf2 100644 --- a/drivers/pinctrl/pinctrl-mxs.c +++ b/drivers/pinctrl/pinctrl-mxs.c | |||
| @@ -335,9 +335,9 @@ static struct pinctrl_desc mxs_pinctrl_desc = { | |||
| 335 | .owner = THIS_MODULE, | 335 | .owner = THIS_MODULE, |
| 336 | }; | 336 | }; |
| 337 | 337 | ||
| 338 | static int __devinit mxs_pinctrl_parse_group(struct platform_device *pdev, | 338 | static int mxs_pinctrl_parse_group(struct platform_device *pdev, |
| 339 | struct device_node *np, int idx, | 339 | struct device_node *np, int idx, |
| 340 | const char **out_name) | 340 | const char **out_name) |
| 341 | { | 341 | { |
| 342 | struct mxs_pinctrl_data *d = platform_get_drvdata(pdev); | 342 | struct mxs_pinctrl_data *d = platform_get_drvdata(pdev); |
| 343 | struct mxs_group *g = &d->soc->groups[idx]; | 343 | struct mxs_group *g = &d->soc->groups[idx]; |
| @@ -384,8 +384,8 @@ static int __devinit mxs_pinctrl_parse_group(struct platform_device *pdev, | |||
| 384 | return 0; | 384 | return 0; |
| 385 | } | 385 | } |
| 386 | 386 | ||
| 387 | static int __devinit mxs_pinctrl_probe_dt(struct platform_device *pdev, | 387 | static int mxs_pinctrl_probe_dt(struct platform_device *pdev, |
| 388 | struct mxs_pinctrl_data *d) | 388 | struct mxs_pinctrl_data *d) |
| 389 | { | 389 | { |
| 390 | struct mxs_pinctrl_soc_data *soc = d->soc; | 390 | struct mxs_pinctrl_soc_data *soc = d->soc; |
| 391 | struct device_node *np = pdev->dev.of_node; | 391 | struct device_node *np = pdev->dev.of_node; |
| @@ -476,8 +476,8 @@ static int __devinit mxs_pinctrl_probe_dt(struct platform_device *pdev, | |||
| 476 | return 0; | 476 | return 0; |
| 477 | } | 477 | } |
| 478 | 478 | ||
| 479 | int __devinit mxs_pinctrl_probe(struct platform_device *pdev, | 479 | int mxs_pinctrl_probe(struct platform_device *pdev, |
| 480 | struct mxs_pinctrl_soc_data *soc) | 480 | struct mxs_pinctrl_soc_data *soc) |
| 481 | { | 481 | { |
| 482 | struct device_node *np = pdev->dev.of_node; | 482 | struct device_node *np = pdev->dev.of_node; |
| 483 | struct mxs_pinctrl_data *d; | 483 | struct mxs_pinctrl_data *d; |
diff --git a/drivers/pinctrl/pinctrl-nomadik-db8500.c b/drivers/pinctrl/pinctrl-nomadik-db8500.c index 7d88ae352119..30b4da91ef7e 100644 --- a/drivers/pinctrl/pinctrl-nomadik-db8500.c +++ b/drivers/pinctrl/pinctrl-nomadik-db8500.c | |||
| @@ -1251,8 +1251,7 @@ static const struct nmk_pinctrl_soc_data nmk_db8500_soc = { | |||
| 1251 | .prcm_gpiocr_registers = db8500_prcm_gpiocr_regs, | 1251 | .prcm_gpiocr_registers = db8500_prcm_gpiocr_regs, |
| 1252 | }; | 1252 | }; |
| 1253 | 1253 | ||
| 1254 | void __devinit | 1254 | void nmk_pinctrl_db8500_init(const struct nmk_pinctrl_soc_data **soc) |
| 1255 | nmk_pinctrl_db8500_init(const struct nmk_pinctrl_soc_data **soc) | ||
| 1256 | { | 1255 | { |
| 1257 | *soc = &nmk_db8500_soc; | 1256 | *soc = &nmk_db8500_soc; |
| 1258 | } | 1257 | } |
diff --git a/drivers/pinctrl/pinctrl-nomadik-db8540.c b/drivers/pinctrl/pinctrl-nomadik-db8540.c index bb6a4016322a..d7ba5443bae0 100644 --- a/drivers/pinctrl/pinctrl-nomadik-db8540.c +++ b/drivers/pinctrl/pinctrl-nomadik-db8540.c | |||
| @@ -1260,8 +1260,7 @@ static const struct nmk_pinctrl_soc_data nmk_db8540_soc = { | |||
| 1260 | .prcm_gpiocr_registers = db8540_prcm_gpiocr_regs, | 1260 | .prcm_gpiocr_registers = db8540_prcm_gpiocr_regs, |
| 1261 | }; | 1261 | }; |
| 1262 | 1262 | ||
| 1263 | void __devinit | 1263 | void nmk_pinctrl_db8540_init(const struct nmk_pinctrl_soc_data **soc) |
| 1264 | nmk_pinctrl_db8540_init(const struct nmk_pinctrl_soc_data **soc) | ||
| 1265 | { | 1264 | { |
| 1266 | *soc = &nmk_db8540_soc; | 1265 | *soc = &nmk_db8540_soc; |
| 1267 | } | 1266 | } |
diff --git a/drivers/pinctrl/pinctrl-nomadik-stn8815.c b/drivers/pinctrl/pinctrl-nomadik-stn8815.c index 7d432c3bc359..924a3393fa82 100644 --- a/drivers/pinctrl/pinctrl-nomadik-stn8815.c +++ b/drivers/pinctrl/pinctrl-nomadik-stn8815.c | |||
| @@ -350,8 +350,7 @@ static const struct nmk_pinctrl_soc_data nmk_stn8815_soc = { | |||
| 350 | .ngroups = ARRAY_SIZE(nmk_stn8815_groups), | 350 | .ngroups = ARRAY_SIZE(nmk_stn8815_groups), |
| 351 | }; | 351 | }; |
| 352 | 352 | ||
| 353 | void __devinit | 353 | void nmk_pinctrl_stn8815_init(const struct nmk_pinctrl_soc_data **soc) |
| 354 | nmk_pinctrl_stn8815_init(const struct nmk_pinctrl_soc_data **soc) | ||
| 355 | { | 354 | { |
| 356 | *soc = &nmk_stn8815_soc; | 355 | *soc = &nmk_stn8815_soc; |
| 357 | } | 356 | } |
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index ef66f98e9202..c68ec404474c 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/pinctrl-nomadik.c | |||
| @@ -1306,7 +1306,7 @@ const struct irq_domain_ops nmk_gpio_irq_simple_ops = { | |||
| 1306 | .xlate = irq_domain_xlate_twocell, | 1306 | .xlate = irq_domain_xlate_twocell, |
| 1307 | }; | 1307 | }; |
| 1308 | 1308 | ||
| 1309 | static int __devinit nmk_gpio_probe(struct platform_device *dev) | 1309 | static int nmk_gpio_probe(struct platform_device *dev) |
| 1310 | { | 1310 | { |
| 1311 | struct nmk_gpio_platform_data *pdata = dev->dev.platform_data; | 1311 | struct nmk_gpio_platform_data *pdata = dev->dev.platform_data; |
| 1312 | struct device_node *np = dev->dev.of_node; | 1312 | struct device_node *np = dev->dev.of_node; |
| @@ -1846,7 +1846,7 @@ static const struct of_device_id nmk_pinctrl_match[] = { | |||
| 1846 | {}, | 1846 | {}, |
| 1847 | }; | 1847 | }; |
| 1848 | 1848 | ||
| 1849 | static int __devinit nmk_pinctrl_probe(struct platform_device *pdev) | 1849 | static int nmk_pinctrl_probe(struct platform_device *pdev) |
| 1850 | { | 1850 | { |
| 1851 | const struct platform_device_id *platid = platform_get_device_id(pdev); | 1851 | const struct platform_device_id *platid = platform_get_device_id(pdev); |
| 1852 | struct device_node *np = pdev->dev.of_node; | 1852 | struct device_node *np = pdev->dev.of_node; |
diff --git a/drivers/pinctrl/pinctrl-pxa168.c b/drivers/pinctrl/pinctrl-pxa168.c index cb771e4a6355..d9cd2b457484 100644 --- a/drivers/pinctrl/pinctrl-pxa168.c +++ b/drivers/pinctrl/pinctrl-pxa168.c | |||
| @@ -615,7 +615,7 @@ static struct pxa3xx_pinmux_info pxa168_info = { | |||
| 615 | .ds_shift = PXA168_DS_SHIFT, | 615 | .ds_shift = PXA168_DS_SHIFT, |
| 616 | }; | 616 | }; |
| 617 | 617 | ||
| 618 | static int __devinit pxa168_pinmux_probe(struct platform_device *pdev) | 618 | static int pxa168_pinmux_probe(struct platform_device *pdev) |
| 619 | { | 619 | { |
| 620 | return pxa3xx_pinctrl_register(pdev, &pxa168_info); | 620 | return pxa3xx_pinctrl_register(pdev, &pxa168_info); |
| 621 | } | 621 | } |
diff --git a/drivers/pinctrl/pinctrl-pxa910.c b/drivers/pinctrl/pinctrl-pxa910.c index 5fecd221b830..a2f917b847fb 100644 --- a/drivers/pinctrl/pinctrl-pxa910.c +++ b/drivers/pinctrl/pinctrl-pxa910.c | |||
| @@ -971,7 +971,7 @@ static struct pxa3xx_pinmux_info pxa910_info = { | |||
| 971 | .ds_shift = PXA910_DS_SHIFT, | 971 | .ds_shift = PXA910_DS_SHIFT, |
| 972 | }; | 972 | }; |
| 973 | 973 | ||
| 974 | static int __devinit pxa910_pinmux_probe(struct platform_device *pdev) | 974 | static int pxa910_pinmux_probe(struct platform_device *pdev) |
| 975 | { | 975 | { |
| 976 | return pxa3xx_pinctrl_register(pdev, &pxa910_info); | 976 | return pxa3xx_pinctrl_register(pdev, &pxa910_info); |
| 977 | } | 977 | } |
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index 864fed822f9d..fd7b24cd8908 100644 --- a/drivers/pinctrl/pinctrl-samsung.c +++ b/drivers/pinctrl/pinctrl-samsung.c | |||
| @@ -549,9 +549,11 @@ static int samsung_gpio_to_irq(struct gpio_chip *gc, unsigned offset) | |||
| 549 | * Parse the pin names listed in the 'samsung,pins' property and convert it | 549 | * Parse the pin names listed in the 'samsung,pins' property and convert it |
| 550 | * into a list of gpio numbers are create a pin group from it. | 550 | * into a list of gpio numbers are create a pin group from it. |
| 551 | */ | 551 | */ |
| 552 | static int __devinit samsung_pinctrl_parse_dt_pins(struct platform_device *pdev, | 552 | static int samsung_pinctrl_parse_dt_pins(struct platform_device *pdev, |
| 553 | struct device_node *cfg_np, struct pinctrl_desc *pctl, | 553 | struct device_node *cfg_np, |
| 554 | unsigned int **pin_list, unsigned int *npins) | 554 | struct pinctrl_desc *pctl, |
| 555 | unsigned int **pin_list, | ||
| 556 | unsigned int *npins) | ||
| 555 | { | 557 | { |
| 556 | struct device *dev = &pdev->dev; | 558 | struct device *dev = &pdev->dev; |
| 557 | struct property *prop; | 559 | struct property *prop; |
| @@ -596,8 +598,8 @@ static int __devinit samsung_pinctrl_parse_dt_pins(struct platform_device *pdev, | |||
| 596 | * from device node of the pin-controller. A pin group is formed with all | 598 | * from device node of the pin-controller. A pin group is formed with all |
| 597 | * the pins listed in the "samsung,pins" property. | 599 | * the pins listed in the "samsung,pins" property. |
| 598 | */ | 600 | */ |
| 599 | static int __devinit samsung_pinctrl_parse_dt(struct platform_device *pdev, | 601 | static int samsung_pinctrl_parse_dt(struct platform_device *pdev, |
| 600 | struct samsung_pinctrl_drv_data *drvdata) | 602 | struct samsung_pinctrl_drv_data *drvdata) |
| 601 | { | 603 | { |
| 602 | struct device *dev = &pdev->dev; | 604 | struct device *dev = &pdev->dev; |
| 603 | struct device_node *dev_np = dev->of_node; | 605 | struct device_node *dev_np = dev->of_node; |
| @@ -691,8 +693,8 @@ static int __devinit samsung_pinctrl_parse_dt(struct platform_device *pdev, | |||
| 691 | } | 693 | } |
| 692 | 694 | ||
| 693 | /* register the pinctrl interface with the pinctrl subsystem */ | 695 | /* register the pinctrl interface with the pinctrl subsystem */ |
| 694 | static int __devinit samsung_pinctrl_register(struct platform_device *pdev, | 696 | static int samsung_pinctrl_register(struct platform_device *pdev, |
| 695 | struct samsung_pinctrl_drv_data *drvdata) | 697 | struct samsung_pinctrl_drv_data *drvdata) |
| 696 | { | 698 | { |
| 697 | struct pinctrl_desc *ctrldesc = &drvdata->pctl; | 699 | struct pinctrl_desc *ctrldesc = &drvdata->pctl; |
| 698 | struct pinctrl_pin_desc *pindesc, *pdesc; | 700 | struct pinctrl_pin_desc *pindesc, *pdesc; |
| @@ -778,8 +780,8 @@ static const struct gpio_chip samsung_gpiolib_chip = { | |||
| 778 | }; | 780 | }; |
| 779 | 781 | ||
| 780 | /* register the gpiolib interface with the gpiolib subsystem */ | 782 | /* register the gpiolib interface with the gpiolib subsystem */ |
| 781 | static int __devinit samsung_gpiolib_register(struct platform_device *pdev, | 783 | static int samsung_gpiolib_register(struct platform_device *pdev, |
| 782 | struct samsung_pinctrl_drv_data *drvdata) | 784 | struct samsung_pinctrl_drv_data *drvdata) |
| 783 | { | 785 | { |
| 784 | struct samsung_pin_ctrl *ctrl = drvdata->ctrl; | 786 | struct samsung_pin_ctrl *ctrl = drvdata->ctrl; |
| 785 | struct samsung_pin_bank *bank = ctrl->pin_banks; | 787 | struct samsung_pin_bank *bank = ctrl->pin_banks; |
| @@ -816,8 +818,8 @@ fail: | |||
| 816 | } | 818 | } |
| 817 | 819 | ||
| 818 | /* unregister the gpiolib interface with the gpiolib subsystem */ | 820 | /* unregister the gpiolib interface with the gpiolib subsystem */ |
| 819 | static int __devinit samsung_gpiolib_unregister(struct platform_device *pdev, | 821 | static int samsung_gpiolib_unregister(struct platform_device *pdev, |
| 820 | struct samsung_pinctrl_drv_data *drvdata) | 822 | struct samsung_pinctrl_drv_data *drvdata) |
| 821 | { | 823 | { |
| 822 | struct samsung_pin_ctrl *ctrl = drvdata->ctrl; | 824 | struct samsung_pin_ctrl *ctrl = drvdata->ctrl; |
| 823 | struct samsung_pin_bank *bank = ctrl->pin_banks; | 825 | struct samsung_pin_bank *bank = ctrl->pin_banks; |
| @@ -881,7 +883,7 @@ static struct samsung_pin_ctrl *samsung_pinctrl_get_soc_data( | |||
| 881 | return ctrl; | 883 | return ctrl; |
| 882 | } | 884 | } |
| 883 | 885 | ||
| 884 | static int __devinit samsung_pinctrl_probe(struct platform_device *pdev) | 886 | static int samsung_pinctrl_probe(struct platform_device *pdev) |
| 885 | { | 887 | { |
| 886 | struct samsung_pinctrl_drv_data *drvdata; | 888 | struct samsung_pinctrl_drv_data *drvdata; |
| 887 | struct device *dev = &pdev->dev; | 889 | struct device *dev = &pdev->dev; |
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 79642831bba2..f6a360b86eb6 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c | |||
| @@ -493,7 +493,7 @@ static struct pinconf_ops pcs_pinconf_ops = { | |||
| 493 | * @pcs: pcs driver instance | 493 | * @pcs: pcs driver instance |
| 494 | * @offset: register offset from base | 494 | * @offset: register offset from base |
| 495 | */ | 495 | */ |
| 496 | static int __devinit pcs_add_pin(struct pcs_device *pcs, unsigned offset) | 496 | static int pcs_add_pin(struct pcs_device *pcs, unsigned offset) |
| 497 | { | 497 | { |
| 498 | struct pinctrl_pin_desc *pin; | 498 | struct pinctrl_pin_desc *pin; |
| 499 | struct pcs_name *pn; | 499 | struct pcs_name *pn; |
| @@ -526,7 +526,7 @@ static int __devinit pcs_add_pin(struct pcs_device *pcs, unsigned offset) | |||
| 526 | * If your hardware needs holes in the address space, then just set | 526 | * If your hardware needs holes in the address space, then just set |
| 527 | * up multiple driver instances. | 527 | * up multiple driver instances. |
| 528 | */ | 528 | */ |
| 529 | static int __devinit pcs_allocate_pin_table(struct pcs_device *pcs) | 529 | static int pcs_allocate_pin_table(struct pcs_device *pcs) |
| 530 | { | 530 | { |
| 531 | int mux_bytes, nr_pins, i; | 531 | int mux_bytes, nr_pins, i; |
| 532 | 532 | ||
| @@ -907,8 +907,7 @@ static void pcs_free_resources(struct pcs_device *pcs) | |||
| 907 | 907 | ||
| 908 | static struct of_device_id pcs_of_match[]; | 908 | static struct of_device_id pcs_of_match[]; |
| 909 | 909 | ||
| 910 | static int __devinit pcs_add_gpio_range(struct device_node *node, | 910 | static int pcs_add_gpio_range(struct device_node *node, struct pcs_device *pcs) |
| 911 | struct pcs_device *pcs) | ||
| 912 | { | 911 | { |
| 913 | struct pcs_gpio_range *gpio; | 912 | struct pcs_gpio_range *gpio; |
| 914 | struct device_node *child; | 913 | struct device_node *child; |
| @@ -951,7 +950,7 @@ static int __devinit pcs_add_gpio_range(struct device_node *node, | |||
| 951 | return 0; | 950 | return 0; |
| 952 | } | 951 | } |
| 953 | 952 | ||
| 954 | static int __devinit pcs_probe(struct platform_device *pdev) | 953 | static int pcs_probe(struct platform_device *pdev) |
| 955 | { | 954 | { |
| 956 | struct device_node *np = pdev->dev.of_node; | 955 | struct device_node *np = pdev->dev.of_node; |
| 957 | const struct of_device_id *match; | 956 | const struct of_device_id *match; |
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c index a4f0c5e487d5..c776046f7cb8 100644 --- a/drivers/pinctrl/pinctrl-sirf.c +++ b/drivers/pinctrl/pinctrl-sirf.c | |||
| @@ -1246,7 +1246,7 @@ static void __iomem *sirfsoc_rsc_of_iomap(void) | |||
| 1246 | return of_iomap(np, 0); | 1246 | return of_iomap(np, 0); |
| 1247 | } | 1247 | } |
| 1248 | 1248 | ||
| 1249 | static int __devinit sirfsoc_pinmux_probe(struct platform_device *pdev) | 1249 | static int sirfsoc_pinmux_probe(struct platform_device *pdev) |
| 1250 | { | 1250 | { |
| 1251 | int ret; | 1251 | int ret; |
| 1252 | struct sirfsoc_pmx *spmx; | 1252 | struct sirfsoc_pmx *spmx; |
| @@ -1663,7 +1663,7 @@ const struct irq_domain_ops sirfsoc_gpio_irq_simple_ops = { | |||
| 1663 | .xlate = irq_domain_xlate_twocell, | 1663 | .xlate = irq_domain_xlate_twocell, |
| 1664 | }; | 1664 | }; |
| 1665 | 1665 | ||
| 1666 | static int __devinit sirfsoc_gpio_probe(struct device_node *np) | 1666 | static int sirfsoc_gpio_probe(struct device_node *np) |
| 1667 | { | 1667 | { |
| 1668 | int i, err = 0; | 1668 | int i, err = 0; |
| 1669 | struct sirfsoc_gpio_bank *bank; | 1669 | struct sirfsoc_gpio_bank *bank; |
diff --git a/drivers/pinctrl/pinctrl-tegra.c b/drivers/pinctrl/pinctrl-tegra.c index e356b0380fa7..ae1e4bb3259d 100644 --- a/drivers/pinctrl/pinctrl-tegra.c +++ b/drivers/pinctrl/pinctrl-tegra.c | |||
| @@ -687,7 +687,7 @@ static struct pinctrl_desc tegra_pinctrl_desc = { | |||
| 687 | .owner = THIS_MODULE, | 687 | .owner = THIS_MODULE, |
| 688 | }; | 688 | }; |
| 689 | 689 | ||
| 690 | int __devinit tegra_pinctrl_probe(struct platform_device *pdev, | 690 | int tegra_pinctrl_probe(struct platform_device *pdev, |
| 691 | const struct tegra_pinctrl_soc_data *soc_data) | 691 | const struct tegra_pinctrl_soc_data *soc_data) |
| 692 | { | 692 | { |
| 693 | struct tegra_pmx *pmx; | 693 | struct tegra_pmx *pmx; |
diff --git a/drivers/pinctrl/pinctrl-tegra20.c b/drivers/pinctrl/pinctrl-tegra20.c index 1524bfd66602..e848189038f0 100644 --- a/drivers/pinctrl/pinctrl-tegra20.c +++ b/drivers/pinctrl/pinctrl-tegra20.c | |||
| @@ -2856,7 +2856,7 @@ static const struct tegra_pinctrl_soc_data tegra20_pinctrl = { | |||
| 2856 | .ngroups = ARRAY_SIZE(tegra20_groups), | 2856 | .ngroups = ARRAY_SIZE(tegra20_groups), |
| 2857 | }; | 2857 | }; |
| 2858 | 2858 | ||
| 2859 | static int __devinit tegra20_pinctrl_probe(struct platform_device *pdev) | 2859 | static int tegra20_pinctrl_probe(struct platform_device *pdev) |
| 2860 | { | 2860 | { |
| 2861 | return tegra_pinctrl_probe(pdev, &tegra20_pinctrl); | 2861 | return tegra_pinctrl_probe(pdev, &tegra20_pinctrl); |
| 2862 | } | 2862 | } |
diff --git a/drivers/pinctrl/pinctrl-tegra30.c b/drivers/pinctrl/pinctrl-tegra30.c index cf579ebf346f..9ad87ea735d4 100644 --- a/drivers/pinctrl/pinctrl-tegra30.c +++ b/drivers/pinctrl/pinctrl-tegra30.c | |||
| @@ -3722,7 +3722,7 @@ static const struct tegra_pinctrl_soc_data tegra30_pinctrl = { | |||
| 3722 | .ngroups = ARRAY_SIZE(tegra30_groups), | 3722 | .ngroups = ARRAY_SIZE(tegra30_groups), |
| 3723 | }; | 3723 | }; |
| 3724 | 3724 | ||
| 3725 | static int __devinit tegra30_pinctrl_probe(struct platform_device *pdev) | 3725 | static int tegra30_pinctrl_probe(struct platform_device *pdev) |
| 3726 | { | 3726 | { |
| 3727 | return tegra_pinctrl_probe(pdev, &tegra30_pinctrl); | 3727 | return tegra_pinctrl_probe(pdev, &tegra30_pinctrl); |
| 3728 | } | 3728 | } |
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c index 8c039ad22baf..718ec5762683 100644 --- a/drivers/pinctrl/pinctrl-u300.c +++ b/drivers/pinctrl/pinctrl-u300.c | |||
| @@ -1062,7 +1062,7 @@ static struct pinctrl_desc u300_pmx_desc = { | |||
| 1062 | .owner = THIS_MODULE, | 1062 | .owner = THIS_MODULE, |
| 1063 | }; | 1063 | }; |
| 1064 | 1064 | ||
| 1065 | static int __devinit u300_pmx_probe(struct platform_device *pdev) | 1065 | static int u300_pmx_probe(struct platform_device *pdev) |
| 1066 | { | 1066 | { |
| 1067 | struct u300_pmx *upmx; | 1067 | struct u300_pmx *upmx; |
| 1068 | struct resource *res; | 1068 | struct resource *res; |
diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c index ad90984ec500..5f0eb04c2336 100644 --- a/drivers/pinctrl/pinctrl-xway.c +++ b/drivers/pinctrl/pinctrl-xway.c | |||
| @@ -674,7 +674,7 @@ static const struct of_device_id xway_match[] = { | |||
| 674 | }; | 674 | }; |
| 675 | MODULE_DEVICE_TABLE(of, xway_match); | 675 | MODULE_DEVICE_TABLE(of, xway_match); |
| 676 | 676 | ||
| 677 | static int __devinit pinmux_xway_probe(struct platform_device *pdev) | 677 | static int pinmux_xway_probe(struct platform_device *pdev) |
| 678 | { | 678 | { |
| 679 | const struct of_device_id *match; | 679 | const struct of_device_id *match; |
| 680 | const struct pinctrl_xway_soc *xway_soc; | 680 | const struct pinctrl_xway_soc *xway_soc; |
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c index 4c045053bbdd..3cf4ecd9302c 100644 --- a/drivers/pinctrl/spear/pinctrl-plgpio.c +++ b/drivers/pinctrl/spear/pinctrl-plgpio.c | |||
| @@ -451,8 +451,7 @@ int spear310_o2p(int offset) | |||
| 451 | return offset + 2; | 451 | return offset + 2; |
| 452 | } | 452 | } |
| 453 | 453 | ||
| 454 | static int __devinit plgpio_probe_dt(struct platform_device *pdev, | 454 | static int plgpio_probe_dt(struct platform_device *pdev, struct plgpio *plgpio) |
| 455 | struct plgpio *plgpio) | ||
| 456 | { | 455 | { |
| 457 | struct device_node *np = pdev->dev.of_node; | 456 | struct device_node *np = pdev->dev.of_node; |
| 458 | int ret = -EINVAL; | 457 | int ret = -EINVAL; |
| @@ -522,7 +521,7 @@ static int __devinit plgpio_probe_dt(struct platform_device *pdev, | |||
| 522 | end: | 521 | end: |
| 523 | return ret; | 522 | return ret; |
| 524 | } | 523 | } |
| 525 | static int __devinit plgpio_probe(struct platform_device *pdev) | 524 | static int plgpio_probe(struct platform_device *pdev) |
| 526 | { | 525 | { |
| 527 | struct device_node *np = pdev->dev.of_node; | 526 | struct device_node *np = pdev->dev.of_node; |
| 528 | struct plgpio *plgpio; | 527 | struct plgpio *plgpio; |
diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c index 922c057521a1..6a7dae70db08 100644 --- a/drivers/pinctrl/spear/pinctrl-spear.c +++ b/drivers/pinctrl/spear/pinctrl-spear.c | |||
| @@ -82,9 +82,8 @@ static int set_mode(struct spear_pmx *pmx, int mode) | |||
| 82 | return 0; | 82 | return 0; |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | void __devinit | 85 | void pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, |
| 86 | pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, | 86 | unsigned count, u16 reg) |
| 87 | unsigned count, u16 reg) | ||
| 88 | { | 87 | { |
| 89 | int i, j; | 88 | int i, j; |
| 90 | 89 | ||
| @@ -93,7 +92,7 @@ pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, | |||
| 93 | gpio_pingroup[i].muxregs[j].reg = reg; | 92 | gpio_pingroup[i].muxregs[j].reg = reg; |
| 94 | } | 93 | } |
| 95 | 94 | ||
| 96 | void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) | 95 | void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) |
| 97 | { | 96 | { |
| 98 | struct spear_pingroup *pgroup; | 97 | struct spear_pingroup *pgroup; |
| 99 | struct spear_modemux *modemux; | 98 | struct spear_modemux *modemux; |
| @@ -358,8 +357,8 @@ static struct pinctrl_desc spear_pinctrl_desc = { | |||
| 358 | .owner = THIS_MODULE, | 357 | .owner = THIS_MODULE, |
| 359 | }; | 358 | }; |
| 360 | 359 | ||
| 361 | int __devinit spear_pinctrl_probe(struct platform_device *pdev, | 360 | int spear_pinctrl_probe(struct platform_device *pdev, |
| 362 | struct spear_pinctrl_machdata *machdata) | 361 | struct spear_pinctrl_machdata *machdata) |
| 363 | { | 362 | { |
| 364 | struct device_node *np = pdev->dev.of_node; | 363 | struct device_node *np = pdev->dev.of_node; |
| 365 | struct resource *res; | 364 | struct resource *res; |
diff --git a/drivers/pinctrl/spear/pinctrl-spear.h b/drivers/pinctrl/spear/pinctrl-spear.h index 1be46ecc6d91..dc8bf85ecb2a 100644 --- a/drivers/pinctrl/spear/pinctrl-spear.h +++ b/drivers/pinctrl/spear/pinctrl-spear.h | |||
| @@ -192,12 +192,11 @@ static inline void pmx_writel(struct spear_pmx *pmx, u32 val, u32 reg) | |||
| 192 | writel_relaxed(val, pmx->vbase + reg); | 192 | writel_relaxed(val, pmx->vbase + reg); |
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | void __devinit pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg); | 195 | void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg); |
| 196 | void __devinit | 196 | void pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, |
| 197 | pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, | 197 | unsigned count, u16 reg); |
| 198 | unsigned count, u16 reg); | 198 | int spear_pinctrl_probe(struct platform_device *pdev, |
| 199 | int __devinit spear_pinctrl_probe(struct platform_device *pdev, | 199 | struct spear_pinctrl_machdata *machdata); |
| 200 | struct spear_pinctrl_machdata *machdata); | ||
| 201 | int spear_pinctrl_remove(struct platform_device *pdev); | 200 | int spear_pinctrl_remove(struct platform_device *pdev); |
| 202 | 201 | ||
| 203 | #define SPEAR_PIN_0_TO_101 \ | 202 | #define SPEAR_PIN_0_TO_101 \ |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1310.c b/drivers/pinctrl/spear/pinctrl-spear1310.c index e40d785a3fc2..1a8bbfec60ca 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1310.c +++ b/drivers/pinctrl/spear/pinctrl-spear1310.c | |||
| @@ -2699,7 +2699,7 @@ static struct of_device_id spear1310_pinctrl_of_match[] = { | |||
| 2699 | {}, | 2699 | {}, |
| 2700 | }; | 2700 | }; |
| 2701 | 2701 | ||
| 2702 | static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev) | 2702 | static int spear1310_pinctrl_probe(struct platform_device *pdev) |
| 2703 | { | 2703 | { |
| 2704 | return spear_pinctrl_probe(pdev, &spear1310_machdata); | 2704 | return spear_pinctrl_probe(pdev, &spear1310_machdata); |
| 2705 | } | 2705 | } |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c index 8deaaff3156c..873966e2b99f 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1340.c +++ b/drivers/pinctrl/spear/pinctrl-spear1340.c | |||
| @@ -2015,7 +2015,7 @@ static struct of_device_id spear1340_pinctrl_of_match[] = { | |||
| 2015 | {}, | 2015 | {}, |
| 2016 | }; | 2016 | }; |
| 2017 | 2017 | ||
| 2018 | static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev) | 2018 | static int spear1340_pinctrl_probe(struct platform_device *pdev) |
| 2019 | { | 2019 | { |
| 2020 | return spear_pinctrl_probe(pdev, &spear1340_machdata); | 2020 | return spear_pinctrl_probe(pdev, &spear1340_machdata); |
| 2021 | } | 2021 | } |
diff --git a/drivers/pinctrl/spear/pinctrl-spear300.c b/drivers/pinctrl/spear/pinctrl-spear300.c index f48e466e605a..4777c0d0e730 100644 --- a/drivers/pinctrl/spear/pinctrl-spear300.c +++ b/drivers/pinctrl/spear/pinctrl-spear300.c | |||
| @@ -653,7 +653,7 @@ static struct of_device_id spear300_pinctrl_of_match[] = { | |||
| 653 | {}, | 653 | {}, |
| 654 | }; | 654 | }; |
| 655 | 655 | ||
| 656 | static int __devinit spear300_pinctrl_probe(struct platform_device *pdev) | 656 | static int spear300_pinctrl_probe(struct platform_device *pdev) |
| 657 | { | 657 | { |
| 658 | int ret; | 658 | int ret; |
| 659 | 659 | ||
diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c index 5b954c19a6d2..06c7e6f1c7f2 100644 --- a/drivers/pinctrl/spear/pinctrl-spear310.c +++ b/drivers/pinctrl/spear/pinctrl-spear310.c | |||
| @@ -378,7 +378,7 @@ static struct of_device_id spear310_pinctrl_of_match[] = { | |||
| 378 | {}, | 378 | {}, |
| 379 | }; | 379 | }; |
| 380 | 380 | ||
| 381 | static int __devinit spear310_pinctrl_probe(struct platform_device *pdev) | 381 | static int spear310_pinctrl_probe(struct platform_device *pdev) |
| 382 | { | 382 | { |
| 383 | int ret; | 383 | int ret; |
| 384 | 384 | ||
diff --git a/drivers/pinctrl/spear/pinctrl-spear320.c b/drivers/pinctrl/spear/pinctrl-spear320.c index e9a5e6d39242..b8e290a8c8c9 100644 --- a/drivers/pinctrl/spear/pinctrl-spear320.c +++ b/drivers/pinctrl/spear/pinctrl-spear320.c | |||
| @@ -3417,7 +3417,7 @@ static struct of_device_id spear320_pinctrl_of_match[] = { | |||
| 3417 | {}, | 3417 | {}, |
| 3418 | }; | 3418 | }; |
| 3419 | 3419 | ||
| 3420 | static int __devinit spear320_pinctrl_probe(struct platform_device *pdev) | 3420 | static int spear320_pinctrl_probe(struct platform_device *pdev) |
| 3421 | { | 3421 | { |
| 3422 | int ret; | 3422 | int ret; |
| 3423 | 3423 | ||
