From: d-gerlach@ti.com (Dave Gerlach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 1/3] PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API
Date: Mon, 31 Oct 2016 16:03:27 -0500 [thread overview]
Message-ID: <a8a4253a-8558-c10f-817e-7cd6975b82ce@ti.com> (raw)
In-Reply-To: <20161028040507.GJ10423@vireshk-i7>
On 10/27/2016 11:05 PM, Viresh Kumar wrote:
> On 27-10-16, 16:41, Dave Gerlach wrote:
>> Move _of_get_opp_desc_node into include/linux/pm_opp.h and rename it
>> dev_pm_opp_of_get_opp_desc_node to allow other drivers, such as platform
>> OPP and cpufreq drivers, to make use of it.
>>
>> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
>> ---
>> drivers/base/power/opp/of.c | 8 ++++----
>> drivers/base/power/opp/opp.h | 1 -
>> include/linux/pm_opp.h | 6 ++++++
>> 3 files changed, 10 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/base/power/opp/of.c b/drivers/base/power/opp/of.c
>> index 5552211e6fcd..215f5a538c78 100644
>> --- a/drivers/base/power/opp/of.c
>> +++ b/drivers/base/power/opp/of.c
>> @@ -198,7 +198,7 @@ void dev_pm_opp_of_remove_table(struct device *dev)
>> EXPORT_SYMBOL_GPL(dev_pm_opp_of_remove_table);
>>
>> /* Returns opp descriptor node for a device, caller must do of_node_put() */
>> -struct device_node *_of_get_opp_desc_node(struct device *dev)
>> +struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev)
>
> Export as well ?
>
Whoops, yes will need to do that. I'll give some time for comments on
any other patches before sending v3.
Thanks,
Dave
next prev parent reply other threads:[~2016-10-31 21:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-27 21:41 [PATCH v3 0/3] cpufreq: Introduce TI CPUFreq/OPP Driver Dave Gerlach
2016-10-27 21:41 ` [PATCH v3 1/3] PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API Dave Gerlach
2016-10-27 23:34 ` kbuild test robot
2016-10-28 4:05 ` Viresh Kumar
2016-10-31 21:03 ` Dave Gerlach [this message]
2016-10-27 21:41 ` [PATCH v3 2/3] Documentation: dt: add bindings for ti-cpufreq Dave Gerlach
2016-11-02 3:59 ` Viresh Kumar
2016-11-02 16:03 ` Dave Gerlach
2016-11-03 2:14 ` Viresh Kumar
2016-10-27 21:41 ` [PATCH v3 3/3] cpufreq: ti: Add cpufreq driver to determine available OPPs at runtime Dave Gerlach
2016-11-02 4:03 ` Viresh Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a8a4253a-8558-c10f-817e-7cd6975b82ce@ti.com \
--to=d-gerlach@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox