diff options
author | Liao Chang <liaochang1@huawei.com> | 2023-08-08 04:29:54 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2023-08-10 11:13:57 +0300 |
commit | 7a34bab2daeaae6d2f32bdfa20b876a8f210cd7a (patch) | |
tree | 02dcead49a7d5178e6d178c8d2695f239eaf80da /drivers/i2c/busses/i2c-tegra-bpmp.c | |
parent | 5d51af11f41eb348d9c3ccb5c74ffa9078673166 (diff) | |
download | linux-7a34bab2daeaae6d2f32bdfa20b876a8f210cd7a.tar.xz |
i2c: synquacer: Use dev_err_probe in probe function
Use the dev_err_probe function instead of dev_err in the probe function
so that the printed message includes the return value and also handles
-EPROBE_DEFER nicely.
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230808012954.1643834-10-liaochang1@huawei.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-tegra-bpmp.c')
0 files changed, 0 insertions, 0 deletions