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:
8ae5767
)
regulator: max8998: Convert ot use devm_kzalloc
author
Axel Lin
<axel.lin@gmail.com>
Thu, 19 Apr 2012 01:47:37 +0000
(09:47 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 23 Apr 2012 12:20:27 +0000
(13:20 +0100)
Also simplify the error handling to start unwind from the place
regulator_register fails.
No need to check rdev[i] is NULL or not before calling regulator_unregister.
regulator_unregister is safe if rdev is NULL,
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found