[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56CF0EB1.304@openwrt.org>
Date: Thu, 25 Feb 2016 15:24:49 +0100
From: John Crispin <blogic@...nwrt.org>
To: Laxman Dewangan <ldewangan@...dia.com>, linus.walleij@...aro.org,
corbet@....net, lee@...nel.org
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, bcm-kernel-feedback-list@...adcom.com,
linux-rpi-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 39/50] pinctrl: lantiq: Use devm_pinctrl_register() for
pinctrl registration
On 24/02/2016 14:16, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan <ldewangan@...dia.com>
Acked-by: John Crispin <blogic@...nwrt.org>
> ---
> drivers/pinctrl/pinctrl-lantiq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/pinctrl-lantiq.c b/drivers/pinctrl/pinctrl-lantiq.c
> index fc38a85..a4d6474 100644
> --- a/drivers/pinctrl/pinctrl-lantiq.c
> +++ b/drivers/pinctrl/pinctrl-lantiq.c
> @@ -336,7 +336,7 @@ int ltq_pinctrl_register(struct platform_device *pdev,
> desc->pmxops = <q_pmx_ops;
> info->dev = &pdev->dev;
>
> - info->pctrl = pinctrl_register(desc, &pdev->dev, info);
> + info->pctrl = devm_pinctrl_register(&pdev->dev, desc, info);
> if (IS_ERR(info->pctrl)) {
> dev_err(&pdev->dev, "failed to register LTQ pinmux driver\n");
> return PTR_ERR(info->pctrl);
>
Powered by blists - more mailing lists