Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab798b90 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Bartlomiej Zolnierkiewicz
Browse files

video: fbdev: au1200fb: Style clean up



Style clean-up.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 06208656
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1546,9 +1546,8 @@ static int au1200fb_init_fbinfo(struct au1200fb_device *fbdev)
	}

	fbi->pseudo_palette = kcalloc(16, sizeof(u32), GFP_KERNEL);
	if (!fbi->pseudo_palette) {
	if (!fbi->pseudo_palette)
		return -ENOMEM;
	}

	ret = fb_alloc_cmap(&fbi->cmap, AU1200_LCD_NBR_PALETTE_ENTRIES, 0);
	if (ret < 0) {
@@ -1717,7 +1716,8 @@ static int au1200fb_drv_probe(struct platform_device *dev)
		print_dbg("phys=0x%08x, size=%dK", fbdev->fb_phys, fbdev->fb_len / 1024);

		/* Init FB data */
		if ((ret = au1200fb_init_fbinfo(fbdev)) < 0)
		ret = au1200fb_init_fbinfo(fbdev);
		if (ret < 0)
			goto failed;

		/* Register new framebuffer */