[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH9JG2UKuuxg+GdaXNuiOZQDr2mbrbXDzFrxuj8jkTP3QRO+5g@mail.gmail.com>
Date: Wed, 7 Nov 2012 22:35:04 +0900
From: Kyungmin Park <kmpark@...radead.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Thomas Abraham <thomas.abraham@...aro.org>,
Tomasz Figa <t.figa@...sung.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: samsung: Remove a redundant settting for ctrldesc->npins
Acked-by: Kyungmin Park <kyungmin.park@...sung.com>
On Wed, Nov 7, 2012 at 12:28 AM, Axel Lin <axel.lin@...ics.com> wrote:
> Set it once is enough.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
> ---
> drivers/pinctrl/pinctrl-samsung.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c
> index fc34cac..1307283 100644
> --- a/drivers/pinctrl/pinctrl-samsung.c
> +++ b/drivers/pinctrl/pinctrl-samsung.c
> @@ -714,7 +714,6 @@ static int __devinit samsung_pinctrl_register(struct platform_device *pdev,
> }
> ctrldesc->pins = pindesc;
> ctrldesc->npins = drvdata->ctrl->nr_pins;
> - ctrldesc->npins = drvdata->ctrl->nr_pins;
>
> /* dynamically populate the pin number and pin name for pindesc */
> for (pin = 0, pdesc = pindesc; pin < ctrldesc->npins; pin++, pdesc++)
> --
> 1.7.9.5
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists