staging: sm750fb: fix a type issue in sm750_set_chip_type()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 26 Nov 2016 10:20:58 +0000 (13:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 20:57:14 +0000 (21:57 +0100)
commitd28fb1ffbaf4c3daffe10bf53f863dcb8845a3c1
treee53d0354d9831445051f8c4cac30c3b6ebb996c0
parent4e0447cdaf60d00f0cabd78ef0ba1874e23ae464
staging: sm750fb: fix a type issue in sm750_set_chip_type()

"revId" needs to be unsigned because we use it to test:

if (revId == SM750LE_REVISION_ID) {

and SM750LE_REVISION_ID is ((unsigned char )0xfe).

Fixes: 81dee67e215b ("staging: sm750fb: add sm750 to staging")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_chip.h