aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/fb_ili9320.c
diff options
context:
space:
mode:
authorMing Yang <minos.future@gmail.com>2016-07-17 19:13:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 17:52:47 +0200
commit1c41494adf7aa6c9ca309fcdc558d7fb47903538 (patch)
treecb75da5bc62483214ef824ed2353fe3f91624c94 /drivers/staging/fbtft/fb_ili9320.c
parentstaging: fbtft: do not allocate huge txbuf (diff)
downloadlinux-dev-1c41494adf7aa6c9ca309fcdc558d7fb47903538.tar.xz
linux-dev-1c41494adf7aa6c9ca309fcdc558d7fb47903538.zip
Staging: fbtft: fixed unsigned type warnings
Replace unsigned by unsigned int in fbtft driver. Issue found by checkpatch. Signed-off-by: Ming Yang <minos.future@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_ili9320.c')
-rw-r--r--drivers/staging/fbtft/fb_ili9320.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_ili9320.c b/drivers/staging/fbtft/fb_ili9320.c
index 6ff222d6d6d6..278e4c7e95e5 100644
--- a/drivers/staging/fbtft/fb_ili9320.c
+++ b/drivers/staging/fbtft/fb_ili9320.c
@@ -29,7 +29,7 @@
#define DEFAULT_GAMMA "07 07 6 0 0 0 5 5 4 0\n" \
"07 08 4 7 5 1 2 0 7 7"
-static unsigned read_devicecode(struct fbtft_par *par)
+static unsigned int read_devicecode(struct fbtft_par *par)
{
int ret;
u8 rxbuf[8] = {0, };
@@ -41,7 +41,7 @@ static unsigned read_devicecode(struct fbtft_par *par)
static int init_display(struct fbtft_par *par)
{
- unsigned devcode;
+ unsigned int devcode;
par->fbtftops.reset(par);