From: Richard Zhao Date: Tue, 18 Sep 2012 06:54:00 +0000 (+0800) Subject: pinctrl: imx: remove duplicated const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a695145b9c4225eeadf56c3caf37cb3b525a32d4;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git pinctrl: imx: remove duplicated const fix smatch warning: drivers/pinctrl/pinctrl-imx.c:435:21: warning: duplicate const Signed-off-by: Richard Zhao Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c index 44e97265cd7d..63866d95357d 100644 --- a/drivers/pinctrl/pinctrl-imx.c +++ b/drivers/pinctrl/pinctrl-imx.c @@ -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;