This patch fixes checkpatch.pl warning in file fbtft-core.c
WARNING: Possible unnecessary 'out of memory' message
Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
        bl_ops = devm_kzalloc(par->info->device, sizeof(struct backlight_ops),
                                GFP_KERNEL);
-       if (!bl_ops) {
-               dev_err(par->info->device,
-                       "%s: could not allocate memeory for backlight operations.\n",
-                       __func__);
+       if (!bl_ops)
                return;
-       }
 
        bl_ops->get_brightness = fbtft_backlight_get_brightness;
        bl_ops->update_status = fbtft_backlight_update_status;