aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorYuan Can <[email protected]>2022-09-24 07:02:57 +0000
committerVinod Koul <[email protected]>2022-09-24 07:33:49 +0000
commit4c0255e7957d5a536c6da7ba08cbb46540fb5d42 (patch)
tree06a4528e9473191ec87ebf668f2de545659785a1 /drivers/fpga/microchip-spi.c
parentphy: qualcomm: call clk_disable_unprepare in the error handling (diff)
downloadkernel-4c0255e7957d5a536c6da7ba08cbb46540fb5d42.tar.gz
kernel-4c0255e7957d5a536c6da7ba08cbb46540fb5d42.zip
phy: qcom-qmp-combo: Use dev_err_probe() to simplify code
In the probe path, dev_err() can be replaced with dev_err_probe() which will check if error code is -EPROBE_DEFER and prints the error name. It also sets the defer probe reason which can be checked later through debugfs. Signed-off-by: Yuan Can <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Andrew Halaney <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions