diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-05-04 19:36:07 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-15 16:17:58 +0100 |
commit | e714b50bdf3cf45076c601276e9e3da00ea05319 (patch) | |
tree | e98a3ed3349462295deb66e664757c484993eb88 /include/linux/bitmap.h | |
parent | 4fec8a5a85c495851007084e632b7f3f87cb7bdb (diff) | |
download | linux-e714b50bdf3cf45076c601276e9e3da00ea05319.tar.gz linux-e714b50bdf3cf45076c601276e9e3da00ea05319.tar.bz2 linux-e714b50bdf3cf45076c601276e9e3da00ea05319.zip |
mfd: rk808: Use dev_err_probe
Use dev_err_probe instead of dev_err in probe function,
which simplifies code a little bit and prints the error
code.
Also drop possibly incorrect printing of chip id registers
while touching the error message.
Tested-by: Diederik de Haas <didi.debian@cknow.org> # Rock64, Quartz64 Model A + B
Tested-by: Vincent Legoll <vincent.legoll@gmail.com> # Pine64 QuartzPro64
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230504173618.142075-4-sebastian.reichel@collabora.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions