From: Mauro Carvalho Chehab Date: Wed, 3 Sep 2014 19:01:36 +0000 (-0300) Subject: [media] ene_ir: use true/false for boolean vars X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2816cc31e06b9d04ac0a92ae6a8311b5ab873fed;p=linux-beck.git [media] ene_ir: 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/rc/ene_ir.c b/drivers/media/rc/ene_ir.c index d16d9b496b92..e80f2c6c5f1a 100644 --- a/drivers/media/rc/ene_ir.c +++ b/drivers/media/rc/ene_ir.c @@ -979,7 +979,7 @@ static int ene_transmit(struct rc_dev *rdev, unsigned *buf, unsigned n) dev->tx_reg = 0; dev->tx_done = 0; dev->tx_sample = 0; - dev->tx_sample_pulse = 0; + dev->tx_sample_pulse = false; dbg("TX: %d samples", dev->tx_len);