"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "f35dd69ba341bda3790713b9e964483934b995e1"
pwm: spear: fix check on pwmchip_add() return value
pwmchip_add() returns zero on success and a negative value on error, so the condition of the check must be inverted. Signed-off-by:Beniamino Galvani <b.galvani@gmail.com> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Thierry Reding <thierry.reding@gmail.com>
Loading
Please register or sign in to comment