summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-09-22 09:22:43 +0000
committerVinod Koul <vkoul@kernel.org>2022-09-24 12:34:56 +0530
commit6177f79644a0b4434d66fcfa93568979f3778173 (patch)
tree0a5e0a2d2196d515a1a59e0f653e077bd9c2d4b8 /drivers/fpga/microchip-spi.c
parent668dc8afce43d4bc01feb3e929d6d5ffcb14f899 (diff)
downloadlinux-6177f79644a0b4434d66fcfa93568979f3778173.tar.bz2
phy: tegra: xusb: 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 <yuancan@huawei.com> Link: https://lore.kernel.org/r/20220922092243.22281-1-yuancan@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions