summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2023-05-04 20:36:07 +0300
committerLee Jones <lee@kernel.org>2023-05-15 18:17:58 +0300
commite714b50bdf3cf45076c601276e9e3da00ea05319 (patch)
treee98a3ed3349462295deb66e664757c484993eb88 /include/linux/mfd
parent4fec8a5a85c495851007084e632b7f3f87cb7bdb (diff)
downloadlinux-e714b50bdf3cf45076c601276e9e3da00ea05319.tar.xz
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/mfd')
0 files changed, 0 insertions, 0 deletions