Commit 1fed320a authored by Rehas Sachdeva's avatar Rehas Sachdeva Committed by Greg Kroah-Hartman

staging: sm750fb: Change 'uint32_t' to 'u32'

It is preferred to use 'u32' instead of 'uint32_t' for unsigned int. Issue
detected by checkpatch.
Signed-off-by: default avatarRehas Sachdeva <aquannie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71b4de84
...@@ -534,7 +534,7 @@ int hw_sm750_pan_display(struct lynxfb_crtc *crtc, ...@@ -534,7 +534,7 @@ int hw_sm750_pan_display(struct lynxfb_crtc *crtc,
const struct fb_var_screeninfo *var, const struct fb_var_screeninfo *var,
const struct fb_info *info) const struct fb_info *info)
{ {
uint32_t total; u32 total;
/* check params */ /* check params */
if ((var->xoffset + var->xres > var->xres_virtual) || if ((var->xoffset + var->xres > var->xres_virtual) ||
(var->yoffset + var->yres > var->yres_virtual)) { (var->yoffset + var->yres > var->yres_virtual)) {
......
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