diff mbox

fbdev: pm3fb: cleanup some confusing indenting

Message ID 20150225132520.GM19745@mwanda (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Carpenter Feb. 25, 2015, 1:25 p.m. UTC
This if statement should be pushed out one tab to line up with the rest.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Tomi Valkeinen March 10, 2015, 12:47 p.m. UTC | #1
On 25/02/15 15:25, Dan Carpenter wrote:
> This if statement should be pushed out one tab to line up with the rest.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 
> diff --git a/drivers/video/fbdev/pm3fb.c b/drivers/video/fbdev/pm3fb.c
> index 4bf3273..77b99ed 100644
> --- a/drivers/video/fbdev/pm3fb.c
> +++ b/drivers/video/fbdev/pm3fb.c
> @@ -1479,9 +1479,9 @@ static void pm3fb_remove(struct pci_dev *dev)
>  		fb_dealloc_cmap(&info->cmap);
>  
>  #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
diff mbox

Patch

diff --git a/drivers/video/fbdev/pm3fb.c b/drivers/video/fbdev/pm3fb.c
index 4bf3273..77b99ed 100644
--- a/drivers/video/fbdev/pm3fb.c
+++ b/drivers/video/fbdev/pm3fb.c
@@ -1479,9 +1479,9 @@  static void pm3fb_remove(struct pci_dev *dev)
 		fb_dealloc_cmap(&info->cmap);
 
 #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);