[PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling
Thierry Reding
thierry.reding at gmail.com
Wed Nov 11 13:05:38 EST 2020
On Tue, Aug 11, 2020 at 02:24:30PM +0800, Anson Huang wrote:
> dev_err_probe() can reduce code size, uniform error handling and record the
> defer probe reason etc., use it to simplify the code.
>
> Signed-off-by: Anson Huang <Anson.Huang at nxp.com>
> ---
> changes since V1:
> - remove redundant return value print.
> ---
> drivers/pwm/pwm-imx-tpm.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)
All three patches 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/20201111/d6171f2a/attachment.sig>
More information about the linux-arm-kernel
mailing list