diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-21 12:12:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-24 18:01:32 -0200 |
commit | e546b1ef22850d53a9e21c4d0bcf9a6057cd9293 (patch) | |
tree | 4256b94e47fe74ab9efb9dcbe861741dc4cb27fb /drivers/mtd/mtdsuper.c | |
parent | 017f4fb7f2eaa191072e7c0bd1153a879b3e207e (diff) |
[media] cx88: fix error return code in cx8802_dvb_probe()
Fix to return error code -ENODEV from the error handling case
instead of 0(err maybe overwrited to 0 in the for loop), as
done elsewhere in this function.
[mchehab@s-opensource.com: remove a now uneeded set for err = -ENODEV]
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/mtd/mtdsuper.c')
0 files changed, 0 insertions, 0 deletions