aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-10 09:45:34 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-10 22:18:34 +0100
commit07cce74a7b259cb90029530e9549bf1d9a1b1c34 (patch)
tree856337b31922ce8d57bd341c2e6860e18ff27001 /Documentation
parentPM / OPP: reuse find_device_opp() instead of duplicating code (diff)
downloadlinux-dev-07cce74a7b259cb90029530e9549bf1d9a1b1c34.tar.xz
linux-dev-07cce74a7b259cb90029530e9549bf1d9a1b1c34.zip
PM / OPP: handle allocation of device_opp in a separate routine
Get the 'device_opp' allocation code into a separate routine to keep only the necessary part in dev_pm_opp_add_dynamic(). Also do s/sizeof(struct device_opp)/sizeof(*dev_opp) and remove the print message on kzalloc() failure as checkpatch warns for that. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions