Re: [PATCH] pinctrl: imx: remove duplicated const

From: Dong Aisheng
Date: Tue Sep 18 2012 - 03:05:18 EST


On 18 September 2012 14:54, Richard Zhao <richard.zhao@xxxxxxxxxxxxx> wrote:
> fix smatch warning:
> drivers/pinctrl/pinctrl-imx.c:435:21: warning: duplicate const
>
> Signed-off-by: Richard Zhao <richard.zhao@xxxxxxxxxxxxx>
> ---
> drivers/pinctrl/pinctrl-imx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
> index a13b888..b3c994a 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;
A stupid typo. :-)

> int i, j;
> u32 config;
>

Acked-by: Dong Aisheng <dong.aisheng@xxxxxxxxxx>

Regards
Dong Aisheng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/