[media] cx23885: move CI/MAC registration to a separate function
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 15:48:07 +0000 (13:48 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 15:16:01 +0000 (13:16 -0200)
commit2b0aac3011bc7a9db27791bed4978554263ef079
tree23d391366a7f190d533dddc6d848e2e42a091a7b
parent05439b1a36935992785c4f28f6693e73820321cb
[media] cx23885: move CI/MAC registration to a separate function

As reported by smatch:
drivers/media/pci/cx23885/cx23885-dvb.c:2080 dvb_register() Function too hairy.  Giving up.

This is indeed a too complex function, with lots of stuff inside.
Breaking this into two functions makes it a little bit less hairy.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx23885/cx23885-dvb.c