diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2021-02-04 13:13:13 +0100 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-03-06 07:39:17 -0800 |
commit | 484a58607a808c3721917f5ca5fba7eff809e4df (patch) | |
tree | 9df3c27fa1206af3cded4b8ecce3d0469e5b2a1c /drivers/md/raid5.h | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
The current code produces an error message on devm_gpiod_get() errors even
when the error is -EPROBE_DEFER, which should be silent.
This has been observed producing a significant amount of messages like:
xlnx-slave-spi spi1.1: Failed to get PROGRAM_B gpio: -517
Fix and simplify code by using the dev_err_probe() helper function.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Fixes: dd2784c01d93 ("fpga manager: xilinx-spi: check INIT_B pin during write_init")
Fixes: 061c97d13f1a ("fpga manager: Add Xilinx slave serial SPI driver")
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/md/raid5.h')
0 files changed, 0 insertions, 0 deletions