bus: bt1-axi: Don't print error on -EPROBE_DEFER
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Fri, 10 Jun 2022 10:40:30 +0000 (13:40 +0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 14 Jun 2022 10:21:44 +0000 (12:21 +0200)
commit5e93207e962a6d23893ff4405f6c5d4396fb5934
treec42e8de19875901eb88a97eefd4e802f1b13e861
parentbe5cddef05f519a321a543906f255ac247246074
bus: bt1-axi: Don't print error on -EPROBE_DEFER

The Baikal-T1 AXI bus driver correctly handles the deferred probe
situation, but still pollutes the system log with a misleading error
message. Let's fix that by using the dev_err_probe() method to print the
log message in case of the clocks/resets request errors.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20220610104030.28399-2-Sergey.Semin@baikalelectronics.ru'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/bus/bt1-axi.c