diff options
| author | Yuan Can <[email protected]> | 2022-09-24 07:02:58 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-09-24 07:33:49 +0000 |
| commit | 413e048a2e51bcc96667c711785b40cf742fb366 (patch) | |
| tree | 1b895b5743c4937f1536e19961203b3f06db5131 /drivers/fpga/microchip-spi.c | |
| parent | phy: qcom-qmp-combo: Use dev_err_probe() to simplify code (diff) | |
| download | kernel-413e048a2e51bcc96667c711785b40cf742fb366.tar.gz kernel-413e048a2e51bcc96667c711785b40cf742fb366.zip | |
phy: qcom-qmp-pcie-msm8996: 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
