diff options
author | 2019-05-27 14:27:51 +0200 | |
---|---|---|
committer | 2019-05-28 19:40:21 +0200 | |
commit | 338c993f9aa2078e03c909464e963a31e086df69 (patch) | |
tree | 44756b54888c3ce6c71299cc0b8c92b19f96827f /drivers/power/supply/cpcap-charger.c | |
parent | drivers: base: power: clock_ops: Use of_clk_get_parent_count() (diff) | |
download | linux-338c993f9aa2078e03c909464e963a31e086df69.tar.gz linux-338c993f9aa2078e03c909464e963a31e086df69.tar.bz2 linux-338c993f9aa2078e03c909464e963a31e086df69.zip |
PM / clk: Remove error message on out-of-memory condition
There is no need to print an error message if kstrdup() fails, as the
memory allocation core already takes care of that.
Note that commit 59d84ca8c46a93ad ("PM / OPP / clk: Remove unnecessary
OOM message") already removed similar error messages, but this one was
forgotten.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/power/supply/cpcap-charger.c')
0 files changed, 0 insertions, 0 deletions