mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 02:51:44 +00:00
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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
c078d78aa9
commit
1164d73a98
@ -812,7 +812,7 @@ static int at91_pinctrl_mux_mask(struct at91_pinctrl *info,
|
||||
{
|
||||
int ret = 0;
|
||||
int size;
|
||||
const const __be32 *list;
|
||||
const __be32 *list;
|
||||
|
||||
list = of_get_property(np, "atmel,mux-mask", &size);
|
||||
if (!list) {
|
||||
@ -846,7 +846,7 @@ static int at91_pinctrl_parse_groups(struct device_node *np,
|
||||
{
|
||||
struct at91_pmx_pin *pin;
|
||||
int size;
|
||||
const const __be32 *list;
|
||||
const __be32 *list;
|
||||
int i, j;
|
||||
|
||||
dev_dbg(info->dev, "group(%d): %s\n", index, np->name);
|
||||
|
Loading…
Reference in New Issue
Block a user