浏览代码

[media] tda10071: 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>
Mauro Carvalho Chehab 11 年之前
父节点
当前提交
79a5ee7882
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/dvb-frontends/tda10071.c

+ 1 - 1
drivers/media/dvb-frontends/tda10071.c

@@ -1037,7 +1037,7 @@ static int tda10071_init(struct dvb_frontend *fe)
 			ret = -EFAULT;
 			ret = -EFAULT;
 			goto error;
 			goto error;
 		} else {
 		} else {
-			priv->warm = 1;
+			priv->warm = true;
 		}
 		}
 
 
 		cmd.args[0] = CMD_GET_FW_VERSION;
 		cmd.args[0] = CMD_GET_FW_VERSION;