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
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue