[PATH v5] pwm: rockchip: Convert to use dev_err_probe()
Thierry Reding
thierry.reding at gmail.com
Wed Sep 28 05:01:42 PDT 2022
On Mon, Aug 22, 2022 at 04:18:48PM +0800, zhaoxiao wrote:
> It's fine to call dev_err_probe() in ->probe() when error code is known.
> Convert the driver to use dev_err_probe().
>
> Signed-off-by: zhaoxiao <zhaoxiao at uniontech.com>
> ---
> v5: delete the redundant ret and %d.
> drivers/pwm/pwm-rockchip.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220928/b7f3f996/attachment.sig>
More information about the linux-arm-kernel
mailing list