media: meye: Adjust two function calls together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 3 Sep 2017 13:41:53 +0000 (09:41 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 12:31:20 +0000 (08:31 -0400)
commit84c62fb996721897623337e9ebd19f9846873b55
treef77d201eb2d496741c82d3103e8bd31abac23f57
parent601b1f0ac7fadbe90cc04c41a1cb31c7cd402fea
media: meye: Adjust two function calls together with a variable assignment

The script "checkpatch.pl" pointed information out like the following.

ERROR: do not use assignment in if condition

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/meye/meye.c