pinctrl: imx: remove duplicated const
authorRichard Zhao <richard.zhao@freescale.com>
Tue, 18 Sep 2012 06:54:00 +0000 (14:54 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Sep 2012 13:19:13 +0000 (15:19 +0200)
fix smatch warning:
drivers/pinctrl/pinctrl-imx.c:435:21: warning: duplicate const

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx.c

index 44e9726..63866d9 100644 (file)
@@ -432,7 +432,7 @@ static int __devinit imx_pinctrl_parse_groups(struct device_node *np,
 {
        unsigned int pin_func_id;
        int ret, size;
-       const const __be32 *list;
+       const __be32 *list;
        int i, j;
        u32 config;