From: Mauro Carvalho Chehab Date: Wed, 3 Sep 2014 18:08:11 +0000 (-0300) Subject: [media] tuner-core: use true/false for boolean vars X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22bf3deb7ee483167edd8ec1aecfb9928a759580;p=linux-beck.git [media] tuner-core: use true/false for boolean vars Instead of using 0 or 1 for boolean, use the true/false defines. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/v4l2-core/tuner-core.c b/drivers/media/v4l2-core/tuner-core.c index 177023200737..559f8372e2eb 100644 --- a/drivers/media/v4l2-core/tuner-core.c +++ b/drivers/media/v4l2-core/tuner-core.c @@ -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 */