media: dvb_ca_en50221: Avoid assignments in ifs
authorJasmin Jessich <jasmin@anw.at>
Sun, 16 Jul 2017 00:43:06 +0000 (20:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 19:30:04 +0000 (15:30 -0400)
commitbacba9e540162feef62ed17ed49c313a287a3341
tree6fbc90090d6422467f695af3d24db3cb3a1b31d1
parenta1ca23d10ed088484c9b69596bddf9da6c0a9ec0
media: dvb_ca_en50221: Avoid assignments in ifs

Fixed all:
  ERROR: do not use assignment in if condition

Fixed also "-strict" checks in this patch:
- Changed "if (ret != 0)" to "if (ret)".
- Camel case variables have been converted to kernel_case.
- Comparison to NULL written as "!<var>".
- No space is necessary after a cast.

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