]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: crystalhd: return true and false instead of 1 and 0
authorValentina Manea <valentina.manea.m@gmail.com>
Fri, 1 Nov 2013 13:03:08 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 19:19:58 +0000 (11:19 -0800)
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>
drivers/staging/crystalhd/crystalhd_cmds.c

index 07a2f24d0d47de4d2e4ea119bcc52e3a38a4b911..3972b52e1416aa4059b7107e4b73520ddb381ae9 100644 (file)
@@ -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);