[PATCH v8 03/14] mfd: rk808: use dev_err_probe

Lee Jones lee at kernel.org
Mon May 15 08:18:12 PDT 2023


On Thu, 04 May 2023, Sebastian Reichel wrote:

> 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.
> 
> Acked-for-MFD-by: Lee Jones <lee at kernel.org>
> Tested-by: Diederik de Haas <didi.debian at cknow.org> # Rock64, Quartz64 Model A + B
> Tested-by: Vincent Legoll <vincent.legoll at gmail.com> # Pine64 QuartzPro64
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
>  drivers/mfd/rk808.c | 48 +++++++++++++++------------------------------
>  1 file changed, 16 insertions(+), 32 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]



More information about the Linux-rockchip mailing list