diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-04-06 22:41:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-11 15:24:56 +0300 |
commit | 2c82f5b8ae6d0b5bbac1526021d9c3120d183555 (patch) | |
tree | 763b0b57519aff8d5faee78517eef57ca5cfdd53 /drivers/regulator/max1586.c | |
parent | 6bb18339c6b54e0241344280fe4d14909db9356c (diff) | |
download | linux-2c82f5b8ae6d0b5bbac1526021d9c3120d183555.tar.xz |
regulator: fan53555: Use dev_err_probe
Use dev_err_probe() instead of dev_err() in the probe function, which
ensures the error code is always printed and, additionally, simplifies
the code a bit.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230406194158.963352-8-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max1586.c')
0 files changed, 0 insertions, 0 deletions