summaryrefslogtreecommitdiff
path: root/drivers/opp/core.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-09-21 11:15:36 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-11 01:49:17 +0200
commitd741029a2390406d4d94279ae5b346831a9e61e6 (patch)
tree83ff522f4ee8e0ce726f33e9c7b8ed7574c91555 /drivers/opp/core.c
parent7813dd6fc75fb375d4caf002e7f80a826fc3153a (diff)
PM / OPP: Use snprintf() to avoid kasprintf() and kfree()
Use snprintf() to avoid unnecessary initializations, avoid calling kfree(). Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/opp/core.c')
0 files changed, 0 insertions, 0 deletions