Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61e310a1 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Linus Walleij
Browse files

pinctrl: at91: correct a few typos

parent f2e9394d
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -243,7 +243,7 @@ static int at91_dt_node_to_map(struct pinctrl_dev *pctldev,
	int i;
	int i;


	/*
	/*
	 * first find the group of this node and check if we need create
	 * first find the group of this node and check if we need to create
	 * config maps for pins
	 * config maps for pins
	 */
	 */
	grp = at91_pinctrl_find_group_by_name(info, np->name);
	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,
		info->functions[selector].name, info->groups[group].name);
		info->functions[selector].name, info->groups[group].name);


	/* first check that all the pins of the group are valid with a valid
	/* first check that all the pins of the group are valid with a valid
	 * paramter */
	 * parameter */
	for (i = 0; i < npins; i++) {
	for (i = 0; i < npins; i++) {
		pin = &pins_conf[i];
		pin = &pins_conf[i];
		ret = pin_check_config(info, info->groups[group].name, i, pin);
		ret = pin_check_config(info, info->groups[group].name, i, pin);