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

Commit 1164d73a authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Walleij
Browse files

pinctrl: at91: Remove duplicate const



const declared twice. Fixes the following sparse warning:
drivers/pinctrl/pinctrl-at91.c:815:21: warning: duplicate const
drivers/pinctrl/pinctrl-at91.c:849:21: warning: duplicate const

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c078d78a
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -812,7 +812,7 @@ static int at91_pinctrl_mux_mask(struct at91_pinctrl *info,
{
{
	int ret = 0;
	int ret = 0;
	int size;
	int size;
	const const __be32 *list;
	const __be32 *list;


	list = of_get_property(np, "atmel,mux-mask", &size);
	list = of_get_property(np, "atmel,mux-mask", &size);
	if (!list) {
	if (!list) {
@@ -846,7 +846,7 @@ static int at91_pinctrl_parse_groups(struct device_node *np,
{
{
	struct at91_pmx_pin *pin;
	struct at91_pmx_pin *pin;
	int size;
	int size;
	const const __be32 *list;
	const __be32 *list;
	int i, j;
	int i, j;


	dev_dbg(info->dev, "group(%d): %s\n", index, np->name);
	dev_dbg(info->dev, "group(%d): %s\n", index, np->name);