[PATCH 1/6] pwm: bcm2835: Simplify with dev_err_probe()
Thierry Reding
thierry.reding at gmail.com
Wed Sep 23 07:59:31 EDT 2020
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 at kernel.org>
> ---
> drivers/pwm/pwm-bcm2835.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 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-riscv/attachments/20200923/4776f53f/attachment.sig>
More information about the linux-riscv
mailing list