]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] tuner-core: use true/false for boolean vars
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 18:08:11 +0000 (15:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 20:59:14 +0000 (17:59 -0300)
Instead of using 0 or 1 for boolean, use the true/false
defines.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/tuner-core.c

index 1770232007372f942a85bacfcfbbe86d58cc22bb..559f8372e2eb3d9bfc021da1196582d3f438ba21 100644 (file)
@@ -601,7 +601,7 @@ static int tuner_probe(struct i2c_client *client,
        t->name = "(tuner unset)";
        t->type = UNSET;
        t->audmode = V4L2_TUNER_MODE_STEREO;
-       t->standby = 1;
+       t->standby = true;
        t->radio_freq = 87.5 * 16000;   /* Initial freq range */
        t->tv_freq = 400 * 16; /* Sets freq to VHF High - needed for some PLL's to properly start */