[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f0a27367-6b6d-602d-fd8f-c6b08fe6a1a9@broadcom.com>
Date: Wed, 24 Feb 2016 10:27:13 -0800
From: Ray Jui <ray.jui@...adcom.com>
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, linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
bcm-kernel-feedback-list@...adcom.com,
linux-mediatek@...ts.infradead.org, Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Jon Mason <jonmason@...adcom.com>
Subject: Re: [PATCH 05/50] pinctrl: cygnus-mux: Use devm_pinctrl_register()
for pinctrl registration
On 2/24/2016 5:15 AM, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan <ldewangan@...dia.com>
> Cc: Ray Jui <rjui@...adcom.com>
> Cc: Scott Branden <sbranden@...adcom.com>
> Cc: Jon Mason <jonmason@...adcom.com>
> ---
> drivers/pinctrl/bcm/pinctrl-cygnus-mux.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c b/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
> index 9728f3d..9382a0a 100644
> --- a/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
> +++ b/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
> @@ -987,7 +987,7 @@ static int cygnus_pinmux_probe(struct platform_device *pdev)
> cygnus_pinctrl_desc.pins = pins;
> cygnus_pinctrl_desc.npins = num_pins;
>
> - pinctrl->pctl = pinctrl_register(&cygnus_pinctrl_desc, &pdev->dev,
> + pinctrl->pctl = devm_pinctrl_register(&pdev->dev, &cygnus_pinctrl_desc,
> pinctrl);
> if (IS_ERR(pinctrl->pctl)) {
> dev_err(&pdev->dev, "unable to register Cygnus IOMUX pinctrl\n");
>
Acked-by: Ray Jui <ray.jui@...adcom.com>
Thanks!
Ray
Powered by blists - more mailing lists