Commit 1b21e218 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] lm3560: simplify a boolean test

lml33dpatch is boolean. So, the possible values are
true or false.

Instead of using if (lml33dpath), just use
if (!lml33dpath).

That allows a faster mental parsing when analyzing the
code.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent afb666d1
......@@ -682,7 +682,7 @@ set_videobus_dir (struct zoran *zr,
switch (zr->card.type) {
case LML33:
case LML33R10:
if (lml33dpath == 0)
if (!lml33dpath)
GPIO(zr, 5, val);
else
GPIO(zr, 5, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment