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 44e97265cd7dc59dd4658175ec394e9c0d0a2b23..63866d95357ddb9692ed7692f7e682424199b9e6 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;