lkml.org 
[lkml]   [2013]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 3/4] regulator: palmas: Removing duplicated code
Date


> -----Original Message-----
> From: Graeme Gregory [mailto:gg@slimlogic.co.uk]
> Sent: Monday, February 18, 2013 1:54 PM
> To: J, KEERTHY
> Cc: broonie@opensource.wolfsonmicro.com; lgirdwood@gmail.com; linux-
> kernel@vger.kernel.org
> Subject: Re: [PATCH 3/4] regulator: palmas: Removing duplicated code
>
>
> On 18/02/13 05:14, J Keerthy wrote:
> > Removing duplicate assignment in the existing code.
> >
> > Signed-off-by: J Keerthy <j-keerthy@ti.com>
> > ---
> > drivers/regulator/palmas-regulator.c | 5 -----
> > 1 files changed, 0 insertions(+), 5 deletions(-)
> >
> > diff --git a/drivers/regulator/palmas-regulator.c
> b/drivers/regulator/palmas-regulator.c
> > index c9e912f..22c6ae2 100644
> > --- a/drivers/regulator/palmas-regulator.c
> > +++ b/drivers/regulator/palmas-regulator.c
> > @@ -566,11 +566,6 @@ static void palmas_dt_to_pdata(struct device
> *dev,
> > pdata->reg_init[idx]->mode_sleep = prop;
> >
> > ret = of_property_read_u32(palmas_matches[idx].of_node,
> > - "ti,warm_reset", &prop);
> > - if (!ret)
> > - pdata->reg_init[idx]->warm_reset = prop;
> > -
> > - ret = of_property_read_u32(palmas_matches[idx].of_node,
> > "ti,tstep", &prop);
> > if (!ret)
> > pdata->reg_init[idx]->tstep = prop;
> This hunk has already been upstreamed by Axel Lin.

Ok. Thanks Graeme. I had missed this.

>
> http://git.kernel.org/?p=linux/kernel/git/next/linux-
> next.git;a=commit;h=f33d0081ff3ffb7180a9794e60318458d7671b36
>
> Graeme



\
 
 \ /
  Last update: 2013-02-18 10:21    [W:0.069 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site