diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-19 16:47:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 08:45:42 -0300 |
commit | db749359059f3049fc5c66950e5ca85f67d7c1b0 (patch) | |
tree | 05192a5286c39166540174b34a0f969a214d0999 /drivers/media/dvb-frontends/tc90522.h | |
parent | 3d263114c4b75d06253f0ed8059164dbc70c9f0c (diff) |
[media] cx25840: fix return logic when media entity init fails
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>
Diffstat (limited to 'drivers/media/dvb-frontends/tc90522.h')
0 files changed, 0 insertions, 0 deletions