Commit 14293211 authored by Lynn Lei's avatar Lynn Lei Committed by Bartlomiej Zolnierkiewicz

video: fbdev: sm712fb.c: fixed prefer unsigned int warning

Fixed several prefer 'unsigned int' over 'unsigned' warnings checked by
scripts/checkpatch.pl:
  Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: default avatarLynn Lei <lynnl.wit@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 0cdc07ec
...@@ -798,8 +798,8 @@ static void __init sm7xx_vga_setup(char *options) ...@@ -798,8 +798,8 @@ static void __init sm7xx_vga_setup(char *options)
} }
} }
static void sm712_setpalette(int regno, unsigned red, unsigned green, static void sm712_setpalette(int regno, unsigned int red, unsigned int green,
unsigned blue, struct fb_info *info) unsigned int blue, struct fb_info *info)
{ {
/* set bit 5:4 = 01 (write LCD RAM only) */ /* set bit 5:4 = 01 (write LCD RAM only) */
smtc_seqw(0x66, (smtc_seqr(0x66) & 0xC3) | 0x10); smtc_seqw(0x66, (smtc_seqr(0x66) & 0xC3) | 0x10);
...@@ -896,8 +896,9 @@ static int smtc_blank(int blank_mode, struct fb_info *info) ...@@ -896,8 +896,9 @@ static int smtc_blank(int blank_mode, struct fb_info *info)
return 0; return 0;
} }
static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, static int smtc_setcolreg(unsigned int regno, unsigned int red,
unsigned blue, unsigned trans, struct fb_info *info) unsigned int green, unsigned int blue,
unsigned int trans, struct fb_info *info)
{ {
struct smtcfb_info *sfb; struct smtcfb_info *sfb;
u32 val; u32 val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment