staging: sm7xxfb: no space after cast
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 17 Jun 2015 11:24:43 +0000 (16:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:44:29 +0000 (21:44 -0700)
fixes the checkpatch warning about using space after typecast.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c

index f18fef95ee2a2f305e4ddb5a56fd43720cf9dab1..c8323998ec39d6f87b1674e4d8fcab2dad15c739 100644 (file)
@@ -336,7 +336,7 @@ static ssize_t smtcfb_read(struct fb_info *info, char __user *buf, size_t
        if (!buffer)
                return -ENOMEM;
 
-       src = (u32 __iomem *) (info->screen_base + p);
+       src = (u32 __iomem *)(info->screen_base + p);
 
        if (info->fbops->fb_sync)
                info->fbops->fb_sync(info);
@@ -422,7 +422,7 @@ smtcfb_write(struct fb_info *info, const char __user *buf, size_t count,
        if (!buffer)
                return -ENOMEM;
 
-       dst = (u32 __iomem *) (info->screen_base + p);
+       dst = (u32 __iomem *)(info->screen_base + p);
 
        if (info->fbops->fb_sync)
                info->fbops->fb_sync(info);
@@ -568,7 +568,7 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb)
                writel(0x00030000, sfb->vp_regs + 0x0);
                break;
        }
-       writel((u32) (((m_nscreenstride + 2) << 16) | m_nscreenstride),
+       writel((u32)(((m_nscreenstride + 2) << 16) | m_nscreenstride),
               sfb->vp_regs + 0x10);
 }