[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415114256.29957.12.camel@mm-sol.com>
Date: Tue, 04 Nov 2014 17:17:36 +0200
From: "Ivan T. Ivanov" <iivanov@...sol.com>
To: Fabio Estevam <festevam@...il.com>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>,
Stanimir Varbanov <svarbanov@...sol.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH] mfd: qcom-spmi-pmic: Add support for more chips versions
On Tue, 2014-11-04 at 12:56 -0200, Fabio Estevam wrote:
> On Tue, Nov 4, 2014 at 11:33 AM, Ivan T. Ivanov <iivanov@...sol.com> wrote:
>
> > + ret = regmap_read(map, PMIC_SUBTYPE, &subtype);
> > + if (ret < 0)
> > + return ret;
> > +
> > + rev2 = regmap_read(map, PMIC_REV2, &rev2);
> > + if (ret < 0)
> > + return ret;
>
> I think you meant:
> ret = regmap_read(map, PMIC_REV2, &rev2);
>
> > +
> > + rev3 = regmap_read(map, PMIC_REV3, &rev3);
>
> Likewise.
>
> > + if (ret < 0)
> > + return ret;
> > +
> > + rev4 = regmap_read(map, PMIC_REV4, &rev4);
>
> Likewise.
>
> >
True. Will fix.
Thank you.
Ivan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists