diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-11-19 22:34:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-20 18:39:58 -0800 |
commit | 0a12ad5929556195fbdf1c58a14ec8e5b01b006c (patch) | |
tree | cc5f454e0f62e509529240083c4574b1854565ef /drivers/leds/leds-cpcap.c | |
parent | bf7b0bf68ec94a0745f10fb7c971f9807faa4c89 (diff) |
mdio_bus: suppress err message for reset gpio EPROBE_DEFER
The mdio_bus may have dependencies from GPIO controller and so got
deferred. Now it will print error message every time -EPROBE_DEFER is
returned which from:
__mdiobus_register()
|-devm_gpiod_get_optional()
without actually identifying error code.
"mdio_bus 4a101000.mdio: mii_bus 4a101000.mdio couldn't get reset GPIO"
Hence, suppress error message for devm_gpiod_get_optional() returning
-EPROBE_DEFER case by using dev_err_probe().
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Link: https://lore.kernel.org/r/20201119203446.20857-1-grygorii.strashko@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/leds/leds-cpcap.c')
0 files changed, 0 insertions, 0 deletions