diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-09-21 11:15:36 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-11 01:49:17 +0200 |
commit | d741029a2390406d4d94279ae5b346831a9e61e6 (patch) | |
tree | 83ff522f4ee8e0ce726f33e9c7b8ed7574c91555 /drivers/opp/of.c | |
parent | 7813dd6fc75fb375d4caf002e7f80a826fc3153a (diff) | |
download | linux-d741029a2390406d4d94279ae5b346831a9e61e6.tar.bz2 |
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/of.c')
0 files changed, 0 insertions, 0 deletions