summaryrefslogtreecommitdiff
path: root/firmware/ihex2fw.c
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 /firmware/ihex2fw.c
parent29df0ee1b14ab5cdc83c225258f42600825f45b2 (diff)
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 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions