Re: [PATCH 1/6] pwm: bcm2835: Simplify with dev_err_probe()
From: Thierry Reding
Date: Wed Sep 23 2020 - 07:59:38 EST
On Wed, Aug 26, 2020 at 04:47:42PM +0200, Krzysztof Kozlowski wrote:
> Common pattern of handling deferred probe can be simplified with
> dev_err_probe(). Less code and also it prints the error value.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> ---
> drivers/pwm/pwm-bcm2835.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)
Applied, thanks.
Thierry
Attachment:
signature.asc
Description: PGP signature