staging: sm750fb: Change 'uint32_t' to 'u32'
authorRehas Sachdeva <aquannie@gmail.com>
Thu, 15 Sep 2016 21:33:21 +0000 (03:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 07:49:56 +0000 (09:49 +0200)
It is preferred to use 'u32' instead of 'uint32_t' for unsigned int. Issue
detected by checkpatch.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_hw.c

index 1de9f81df029d3b87d0bbdde23b13e0ebdff7ee1..a376d171f2f39ea718bc848e65a0b0acaac592e5 100644 (file)
@@ -534,7 +534,7 @@ int hw_sm750_pan_display(struct lynxfb_crtc *crtc,
                         const struct fb_var_screeninfo *var,
                         const struct fb_info *info)
 {
-       uint32_t total;
+       u32 total;
        /* check params */
        if ((var->xoffset + var->xres > var->xres_virtual) ||
            (var->yoffset + var->yres > var->yres_virtual)) {