[media] cx24120: More tidying in cx24120_init
authorJemma Denson <jdenson@gmail.com>
Fri, 8 May 2015 20:36:19 +0000 (17:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 18 May 2015 20:47:49 +0000 (17:47 -0300)
commit4133601c31adcbcd3affc40e1035c25787cc5cd1
treea268e5a84f5eb99d67914fd9dc9af98651d6106c
parent1668797d176d384c5148bd903b534125eae8d377
[media] cx24120: More tidying in cx24120_init

Remove reg1 by refactoring for loops
Change ret into an int as it's only used for return values now,
and remove reset_result by using ret instead.

Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cx24120.c