OSDN Git Service

clk: renesas: mstp: Remove error messages on out-of-memory conditions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 May 2019 09:24:16 +0000 (11:24 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Jun 2019 08:57:15 +0000 (10:57 +0200)
commit0f7ece0d1434002d853b74461e43e3a88524dfcf
treebb15b65f1a214730b0f5ca2ed1716fda1b9d66ee
parented04e6288ac59a59a2e9265194a6be892f708c66
clk: renesas: mstp: Remove error messages on out-of-memory conditions

pm_clk_create() and pm_clk_add_clk() can fail only when running out of
memory.  Hence there is no need to print error messages on failure, as
the memory allocation core already takes care of that.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
drivers/clk/renesas/clk-mstp.c