diff options
author | Valentina Manea <valentina.manea.m@gmail.com> | 2013-11-01 15:03:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-10 11:19:58 -0800 |
commit | 278660a44648e02c3a75b6161acd31fa120067fc (patch) | |
tree | 686e452f4b7ad1d5c96329c176e136e8e502028c /drivers/staging | |
parent | 05323e78161b4396c31e7ed8d84670461805fb97 (diff) | |
download | op-kernel-dev-278660a44648e02c3a75b6161acd31fa120067fc.zip op-kernel-dev-278660a44648e02c3a75b6161acd31fa120067fc.tar.gz |
staging: crystalhd: return true and false instead of 1 and 0
This fixes coccinelle error regarding functions that return
bool and return 1 and 0 instead of true and false.
Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/crystalhd/crystalhd_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/crystalhd/crystalhd_cmds.c b/drivers/staging/crystalhd/crystalhd_cmds.c index 07a2f24..3972b52 100644 --- a/drivers/staging/crystalhd/crystalhd_cmds.c +++ b/drivers/staging/crystalhd/crystalhd_cmds.c @@ -1059,7 +1059,7 @@ bool crystalhd_cmd_interrupt(struct crystalhd_cmd *ctx) { if (!ctx) { BCMLOG_ERR("Invalid arg..\n"); - return 0; + return false; } return crystalhd_hw_interrupt(ctx->adp, &ctx->hw_ctx); |