diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-12-10 04:15:34 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-10 21:18:34 (GMT) |
commit | 07cce74a7b259cb90029530e9549bf1d9a1b1c34 (patch) | |
tree | 856337b31922ce8d57bd341c2e6860e18ff27001 /fs/gfs2/super.c | |
parent | 29df0ee1b14ab5cdc83c225258f42600825f45b2 (diff) | |
download | linux-07cce74a7b259cb90029530e9549bf1d9a1b1c34.tar.xz |
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 'fs/gfs2/super.c')
0 files changed, 0 insertions, 0 deletions