diff options
author | Muraru Mihaela <mihaela.muraru21@gmail.com> | 2016-10-03 17:55:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 11:24:18 +0300 |
commit | 14c681ea83adcbb33ed31c50cda1a2297bbade7e (patch) | |
tree | eb265edd39ba4426c512fe08914e5227098a2532 /drivers/staging | |
parent | 9872fa751e0bad862161c442d44b7ea597e23676 (diff) | |
download | linux-14c681ea83adcbb33ed31c50cda1a2297bbade7e.tar.xz |
Staging: sm750fb: use unsigned int instead unsigned
This patch fixes a WARNING: Prefer 'unsigned int' to bare use of
'unsigned', found by checkpatch.pl. By fixing this the types of the parameters of the function become more explicit.
Signed-off-by: Muraru Mihaela <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 7d90e250142c..8770a46c3c67 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -575,11 +575,11 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var, return hw_sm750_crtc_checkMode(crtc, var); } -static int lynxfb_ops_setcolreg(unsigned regno, - unsigned red, - unsigned green, - unsigned blue, - unsigned transp, +static int lynxfb_ops_setcolreg(unsigned int regno, + unsigned int red, + unsigned int green, + unsigned int blue, + unsigned int transp, struct fb_info *info) { struct lynxfb_par *par; |