aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-single.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/pinctrl-single.c')
-rw-r--r--drivers/pinctrl/pinctrl-single.c9
1 files changed, 4 insertions, 5 deletions
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 */
496static int __devinit pcs_add_pin(struct pcs_device *pcs, unsigned offset) 496static 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 */
529static int __devinit pcs_allocate_pin_table(struct pcs_device *pcs) 529static 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
908static struct of_device_id pcs_of_match[]; 908static struct of_device_id pcs_of_match[];
909 909
910static int __devinit pcs_add_gpio_range(struct device_node *node, 910static 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
954static int __devinit pcs_probe(struct platform_device *pdev) 953static 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;