summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 19:01:36 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 20:59:20 (GMT)
commit2816cc31e06b9d04ac0a92ae6a8311b5ab873fed (patch)
tree0aa496910202aef69990a0980673fd4c5256c437
parent8b4b68186f7095fc2a4badaacd31a39ac6cadea2 (diff)
downloadlinux-2816cc31e06b9d04ac0a92ae6a8311b5ab873fed.tar.xz
[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 <m.chehab@samsung.com>
-rw-r--r--drivers/media/rc/ene_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ene_ir.c b/drivers/media/rc/ene_ir.c
index d16d9b4..e80f2c6 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);