clk: clk-conf: Do not print error messages if EPROBE_DEFER
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Jan 2017 10:12:33 +0000 (11:12 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 10 Jan 2017 00:09:05 +0000 (16:09 -0800)
commite2d793330875d60e2c81de7a75b6bba159fef70a
tree9852ca74da7019a922a3ac246387c9fbbd1c61f8
parent67bcc2c5f1da8c5bb58e72354274ea5c59a3950a
clk: clk-conf: Do not print error messages if EPROBE_DEFER

EPROBE_DEFER is not an error, hence printing an error message like

clk: couldn't get clock 0 for /soc/display@feb00000

may confuse the user.

Suppress error messages in case of probe deferral to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-conf.c