[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=WHzqL1cPdb5Q9E8nXzV=SNXA-r5hWXidf+W3Eh_Sirng@mail.gmail.com>
Date: Thu, 29 Mar 2018 15:36:33 -0700
From: Doug Anderson <dianders@...omium.org>
To: Stephen Boyd <sboyd@...nel.org>, Evan Green <evgreen@...omium.org>,
Lina Iyer <ilina@...eaurora.org>
Cc: David Collins <collinsd@...eaurora.org>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
linux-arm-msm@...r.kernel.org,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
linux-arm@...ts.infradead.org, devicetree@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Rajendra Nayak <rnayak@...eaurora.org>
Subject: Re: [PATCH 1/2] regulator: add QCOM RPMh regulator driver
Hi,
On Wed, Mar 21, 2018 at 12:07 PM, Stephen Boyd <sboyd@...nel.org> wrote:
>> +static int rpmh_regulator_remove(struct platform_device *pdev)
>> +{
>> + struct rpmh_pmic *pmic = platform_get_drvdata(pdev);
>> +
>> + rpmh_release(pmic->rpmh_client);
>
> I'm still lost on what rpmh_client is giving us besides more code we
> don't need. I'll ping the rpmh thread again.
It's not completely obvious to me what you are asking here and I think
you didn't actually get back to pinging the RPMH thread, did you? In
his response, David seems to have taken your comment as "I agree with
Doug, please add devm_rpmh_get_client", but I'm not sure that's what
you meant. It sounds a lot like you're suggesting totally gutting the
concept of the "rpmh_client".
I certainly haven't reviewed RPMH a whole lot, but perhaps you can
make it more obvious how this would work.
In any case, I guess this is a bit off topic for the regulator series.
Perhaps you can respond to the RPMH series with more details about
what you're looking for?
Thanks!
-Doug
Powered by blists - more mailing lists