Skip to contentSkip to conversation

fbdev: pm3fb: cleanup some confusing indenting

PATCH Tomi Valkeinen 1 participant 1 message Mar 10, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Dan Carpenter

This if statement should be pushed out one tab to line up with the rest.

drivers/video/fbdev/pm3fb.c +0 -0
index 4bf3273..77b99ed 100644
@@ -1479,9 +1479,9 @@ static void pm3fb_remove(struct pci_dev *dev)
 		fb_dealloc_cmap(&info->cmap);
 

drivers/video/fbdev/pm3fb.c static void pm3fb_remove(struct pci_dev *dev) · line 1487

Quoted 10 lines
drivers/video/fbdev/pm3fb.c +3 -3
 #ifdef CONFIG_MTRR
-	if (par->mtrr_handle >= 0)
-		mtrr_del(par->mtrr_handle, info->fix.smem_start,
-			 info->fix.smem_len);
+		if (par->mtrr_handle >= 0)
+			mtrr_del(par->mtrr_handle, info->fix.smem_start,
+				 info->fix.smem_len);
 #endif /* CONFIG_MTRR */
 		iounmap(info->screen_base);
 		release_mem_region(fix->smem_start, fix->smem_len);

Thanks, queued for 4.1.

Tomi