media: dvb_ca_en50221: Refactored dvb_ca_en50221_thread
authorJasmin Jessich <jasmin@anw.at>
Sun, 16 Jul 2017 00:43:02 +0000 (20:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:26:52 +0000 (15:26 -0400)
commita004b70e70d3fca8ea021ad51ebf8e614049332c
treec6dc3268f918fba3c7df9915f1e10a95c9fced79
parentd105d083448e79ec3f4b1d3f501b869a4515a1d0
media: dvb_ca_en50221: Refactored dvb_ca_en50221_thread

Refactored "dvb_ca_en50221_thread" by moving the state machine into the
new function "dvb_ca_en50221_thread_state_machine". This reduces the
thread function size and reduces the structural complexity and of course
gives us more space to meet the line length goal in the new function.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_ca_en50221.c