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:
3d26311
)
[media] cx25840: fix return logic when media entity init fails
author
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Thu, 19 Feb 2015 19:47:07 +0000
(16:47 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Thu, 26 Feb 2015 11:45:42 +0000
(08:45 -0300)
There's no need to free state, as it was allocated via devm_kzalloc().
Also, let's return the error code, instead of something else.
Reported-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
No differences found