diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 21:01:36 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 22:59:20 +0200 |
commit | 2816cc31e06b9d04ac0a92ae6a8311b5ab873fed (patch) | |
tree | 0aa496910202aef69990a0980673fd4c5256c437 /drivers/media/rc | |
parent | [media] radio: use true/false for boolean vars (diff) | |
download | linux-2816cc31e06b9d04ac0a92ae6a8311b5ab873fed.tar.xz linux-2816cc31e06b9d04ac0a92ae6a8311b5ab873fed.zip |
[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>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/ene_ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |