diff options
author | Liao Chang <[email protected]> | 2023-08-08 09:29:54 +0800 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2023-08-10 10:13:57 +0200 |
commit | 7a34bab2daeaae6d2f32bdfa20b876a8f210cd7a (patch) | |
tree | 02dcead49a7d5178e6d178c8d2695f239eaf80da /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 5d51af11f41eb348d9c3ccb5c74ffa9078673166 (diff) |
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 <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions