git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257462d
)
pwm: spear: fix check on pwmchip_add() return value
author
Beniamino Galvani
<b.galvani@gmail.com>
Mon, 5 May 2014 21:29:00 +0000
(23:29 +0200)
committer
Thierry Reding
<thierry.reding@gmail.com>
Wed, 7 May 2014 08:21:05 +0000
(10:21 +0200)
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>
drivers/pwm/pwm-spear.c
patch
|
blob
|
history
diff --cc
drivers/pwm/pwm-spear.c
Simple merge