[PATCHv3 02/14] mfd: rk808: use dev_err_probe
Lee Jones
lee at kernel.org
Wed Sep 28 06:51:51 PDT 2022
On Fri, 09 Sep 2022, 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.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
> drivers/mfd/rk808.c | 48 +++++++++++++++------------------------------
> 1 file changed, 16 insertions(+), 32 deletions(-)
For my own reference (apply this as-is to your sign-off block):
Acked-for-MFD-by: Lee Jones <lee at kernel.org>
--
Lee Jones [李琼斯]
More information about the Linux-rockchip
mailing list