aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-at91.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2013-10-16 10:12:33 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-23 05:07:21 -0400
commit61e310a1edf6f325939245c05d3e9b662c70a43d (patch)
tree4e05289995229569e2d863ff2a76ecbfb295df17 /drivers/pinctrl/pinctrl-at91.c
parentf2e9394d1a3bc7a4f646345d93468c8aa1f7d2ee (diff)
pinctrl: at91: correct a few typos
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
-rw-r--r--drivers/pinctrl/pinctrl-at91.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 0c8bf9318aed..c4598dcf333c 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -243,7 +243,7 @@ static int at91_dt_node_to_map(struct pinctrl_dev *pctldev,
243 int i; 243 int i;
244 244
245 /* 245 /*
246 * first find the group of this node and check if we need create 246 * first find the group of this node and check if we need to create
247 * config maps for pins 247 * config maps for pins
248 */ 248 */
249 grp = at91_pinctrl_find_group_by_name(info, np->name); 249 grp = at91_pinctrl_find_group_by_name(info, np->name);
@@ -572,7 +572,7 @@ static int at91_pmx_enable(struct pinctrl_dev *pctldev, unsigned selector,
572 info->functions[selector].name, info->groups[group].name); 572 info->functions[selector].name, info->groups[group].name);
573 573
574 /* first check that all the pins of the group are valid with a valid 574 /* first check that all the pins of the group are valid with a valid
575 * paramter */ 575 * parameter */
576 for (i = 0; i < npins; i++) { 576 for (i = 0; i < npins; i++) {
577 pin = &pins_conf[i]; 577 pin = &pins_conf[i];
578 ret = pin_check_config(info, info->groups[group].name, i, pin); 578 ret = pin_check_config(info, info->groups[group].name, i, pin);
@@ -966,7 +966,7 @@ static int at91_pinctrl_probe_dt(struct platform_device *pdev,
966 at91_pinctrl_child_count(info, np); 966 at91_pinctrl_child_count(info, np);
967 967
968 if (info->nbanks < 1) { 968 if (info->nbanks < 1) {
969 dev_err(&pdev->dev, "you need to specify atleast one gpio-controller\n"); 969 dev_err(&pdev->dev, "you need to specify at least one gpio-controller\n");
970 return -EINVAL; 970 return -EINVAL;
971 } 971 }
972 972
@@ -1503,7 +1503,7 @@ static int at91_gpio_of_irq_setup(struct device_node *node,
1503 if (at91_gpio->pioc_idx) 1503 if (at91_gpio->pioc_idx)
1504 prev = gpio_chips[at91_gpio->pioc_idx - 1]; 1504 prev = gpio_chips[at91_gpio->pioc_idx - 1];
1505 1505
1506 /* The toplevel handler handles one bank of GPIOs, except 1506 /* The top level handler handles one bank of GPIOs, except
1507 * on some SoC it can handles up to three... 1507 * on some SoC it can handles up to three...
1508 * We only set up the handler for the first of the list. 1508 * We only set up the handler for the first of the list.
1509 */ 1509 */