[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161125011639.GA29245@linux-u7w5.ap.freescale.net>
Date: Fri, 25 Nov 2016 09:16:41 +0800
From: Peng Fan <van.freenix@...il.com>
To: Gary Bisson <gary.bisson@...ndarydevices.com>
Cc: hawnguo@...nel.org, linus.walleij@...aro.org,
vladimir_zapolskiy@...tor.com, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: imx: fix imx_pinctrl_desc initialization
Hi Gary,
On Thu, Nov 24, 2016 at 07:11:51PM +0100, Gary Bisson wrote:
>Was introduced by:
>6e408ed pinctrl: imx: fix initialization of imx_pinctrl_desc
>
>Signed-off-by: Gary Bisson <gary.bisson@...ndarydevices.com>
>---
> drivers/pinctrl/freescale/pinctrl-imx.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
>diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c
>index 79c4e14..5ef7e87 100644
>--- a/drivers/pinctrl/freescale/pinctrl-imx.c
>+++ b/drivers/pinctrl/freescale/pinctrl-imx.c
>@@ -778,10 +778,10 @@ int imx_pinctrl_probe(struct platform_device *pdev,
> imx_pinctrl_desc->name = dev_name(&pdev->dev);
> imx_pinctrl_desc->pins = info->pins;
> imx_pinctrl_desc->npins = info->npins;
>- imx_pinctrl_desc->pctlops = &imx_pctrl_ops,
>- imx_pinctrl_desc->pmxops = &imx_pmx_ops,
>- imx_pinctrl_desc->confops = &imx_pinconf_ops,
>- imx_pinctrl_desc->owner = THIS_MODULE,
>+ imx_pinctrl_desc->pctlops = &imx_pctrl_ops;
>+ imx_pinctrl_desc->pmxops = &imx_pmx_ops;
>+ imx_pinctrl_desc->confops = &imx_pinconf_ops;
>+ imx_pinctrl_desc->owner = THIS_MODULE;
Thanks for the fix.
Reviewed-by: Peng Fan <peng.fan@....com>
>
> ret = imx_pinctrl_probe_dt(pdev, info);
> if (ret) {
>--
>2.9.3
>
--
Powered by blists - more mailing lists