[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OSAPR01MB36837CEA1F92382007F3A5F6D8DD0@OSAPR01MB3683.jpnprd01.prod.outlook.com>
Date: Thu, 24 Dec 2020 08:23:37 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: Lee Jones <lee.jones@...aro.org>
CC: "marek.vasut+renesas@...il.com" <marek.vasut+renesas@...il.com>,
"matti.vaittinen@...rohmeurope.com"
<matti.vaittinen@...rohmeurope.com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"bgolaszewski@...libre.com" <bgolaszewski@...libre.com>,
Khiem Nguyen <khiem.nguyen.xt@...esas.com>,
"linux-power@...rohmeurope.com" <linux-power@...rohmeurope.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-renesas-soc@...r.kernel.org"
<linux-renesas-soc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v6 11/12] mfd: bd9571mwv: Make the driver more generic
Hi Lee,
> From: Lee Jones, Sent: Thursday, December 24, 2020 4:34 PM
> > Hi Lee,
> >
> > > From: Lee Jones, Sent: Thursday, December 24, 2020 12:39 AM
> > > On Wed, 23 Dec 2020, Yoshihiro Shimoda wrote:
> > > > From: Khiem Nguyen <khiem.nguyen.xt@...esas.com>
<snip>
> > > > + switch (ret) {
> > > > + case BD9571MWV_PRODUCT_CODE_BD9571MWV:
> > > > + ddata = &bd9571mwv_ddata;
> > >
> > > Simply declare 'const struct mfd_cell *cells' locally in probe and
> > > assign it here instead.
> >
> > I got it. I'll also add "const struct regmap_config *regmap_config;"
> > and "const struct regmap_irq_chip *irq_chip;" locally in probe.
>
> If you only use them there, then yes, that's correct.
Thank you for the reply. Yes, I only use them there.
So, I have submitted v7 patches which have such implementation.
Best regards,
Yoshihiro Shimoda
Powered by blists - more mailing lists