[PATCH 1/6] pwm: bcm2835: Simplify with dev_err_probe()

Florian Fainelli f.fainelli at gmail.com
Wed Aug 26 13:21:34 EDT 2020


On 8/26/20 7:47 AM, 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>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the Linux-rockchip mailing list