leds: pwm: Simplify with dev_err_probe()
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: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NPavel Machek <pavel@ucw.cz>
Showing
想要评论请 注册 或 登录