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:
0c90393
)
ARM: OMAP: CPUidle: Unregister drivere on device registration failure
author
Santosh Shilimkar
<santosh.shilimkar@ti.com>
Mon, 25 Mar 2013 10:05:05 +0000
(15:35 +0530)
committer
Kevin Hilman
<khilman@linaro.org>
Wed, 3 Apr 2013 21:39:58 +0000
(14:39 -0700)
If the CPUidle device registration fails for some reason, we should
unregister the driver on error path.
Fix the code accordingly. Also when at it, check of the driver registration
failure too.
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
No differences found