Bool initializations should use true and false instead of 1 and 0.
Detected by coccinelle/misc/boolinit.cocci.
Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                for (index = 0; index < N_RES; index++) {
                        if ((width == mt9m114_res[index].width) &&
                            (height == mt9m114_res[index].height)) {
-                               mt9m114_res[index].used = 1;
+                               mt9m114_res[index].used = true;
                                continue;
                        }
-                       mt9m114_res[index].used = 0;
+                       mt9m114_res[index].used = false;
                }
        }
        ret = mt9m114_get_intg_factor(c, mt9m114_info,
 
        .width  = 1296,
        .height = 736,
        .fps    = 30,
-       .used   = 0,
+       .used   = false,
        .regs   = NULL,
        .skip_frames = 1,
 
        .width  = 1296,
        .height = 864,
        .fps    = 30,
-       .used   = 0,
+       .used   = false,
        .regs   = NULL,
        .skip_frames = 1,
 
        .width  = 1296,
        .height = 976,
        .fps    = 30,
-       .used   = 0,
+       .used   = false,
        .regs   = NULL,
        .skip_frames = 1,