OSDN Git Service

staging: sm750fb: Replace uint32_t with u32
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sun, 18 Oct 2015 15:57:57 +0000 (21:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:02:42 +0000 (19:02 -0700)
Replace uint32_t with u32 consistent with Linux kernel coding
practice.
Problem found using checkpatch.pl

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_power.c

index 198ff81..667e4f8 100644 (file)
@@ -108,7 +108,7 @@ void setCurrentGate(unsigned int gate)
  */
 void enable2DEngine(unsigned int enable)
 {
-       uint32_t gate;
+       u32 gate;
 
        gate = PEEK32(CURRENT_GATE);
        if (enable) {
@@ -124,7 +124,7 @@ void enable2DEngine(unsigned int enable)
 
 void enableDMA(unsigned int enable)
 {
-       uint32_t gate;
+       u32 gate;
 
        /* Enable DMA Gate */
        gate = PEEK32(CURRENT_GATE);
@@ -141,7 +141,7 @@ void enableDMA(unsigned int enable)
  */
 void enableGPIO(unsigned int enable)
 {
-       uint32_t gate;
+       u32 gate;
 
        /* Enable GPIO Gate */
        gate = PEEK32(CURRENT_GATE);
@@ -158,7 +158,7 @@ void enableGPIO(unsigned int enable)
  */
 void enableI2C(unsigned int enable)
 {
-       uint32_t gate;
+       u32 gate;
 
        /* Enable I2C Gate */
        gate = PEEK32(CURRENT_GATE);