diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 22:22:02 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-04 00:59:15 +0400 |
commit | 285c0b005f387a9b1251d018aca3359497bd62a6 (patch) | |
tree | c7cdbaee46fd2789c2ba87b3d14bb46042286e44 /drivers/media/dvb-frontends/cxd2820r_t.c | |
parent | 6a5e7fde3a04ef5134702753f77e9b8aa6aab789 (diff) | |
download | linux-285c0b005f387a9b1251d018aca3359497bd62a6.tar.xz |
[media] cxd2820r: 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/dvb-frontends/cxd2820r_t.c')
-rw-r--r-- | drivers/media/dvb-frontends/cxd2820r_t.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_t.c b/drivers/media/dvb-frontends/cxd2820r_t.c index 9b5a45b907bc..51401d036530 100644 --- a/drivers/media/dvb-frontends/cxd2820r_t.c +++ b/drivers/media/dvb-frontends/cxd2820r_t.c @@ -89,7 +89,7 @@ int cxd2820r_set_frontend_t(struct dvb_frontend *fe) } priv->delivery_system = SYS_DVBT; - priv->ber_running = 0; /* tune stops BER counter */ + priv->ber_running = false; /* tune stops BER counter */ /* program IF frequency */ if (fe->ops.tuner_ops.get_if_frequency) { @@ -272,7 +272,7 @@ int cxd2820r_read_ber_t(struct dvb_frontend *fe, u32 *ber) start_ber = 1; } } else { - priv->ber_running = 1; + priv->ber_running = true; start_ber = 1; } |