diff options
author | Viresh Kumar <[email protected]> | 2019-07-08 11:24:56 +0530 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2019-07-26 13:23:31 +0530 |
commit | 17a8f868ae3e85a173843b1ac65e744e8585bc5a (patch) | |
tree | 366428704840f67d53e5109a755c05fe628f5baa /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | baea35e4db17a72145c84a401f70d496c8ebf833 (diff) |
opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()
The cpufreq drivers don't need to do runtime PM operations on the
virtual devices returned by dev_pm_domain_attach_by_name() and so the
virtual devices weren't shared with the callers of
dev_pm_opp_attach_genpd() earlier.
But the IO device drivers would want to do that. This patch updates the
prototype of dev_pm_opp_attach_genpd() to accept another argument to
return the pointer to the array of genpd virtual devices.
Reported-by: Rajendra Nayak <[email protected]>
Tested-by: Rajendra Nayak <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions