Commit f741554e authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman

staging: sm750fb: Replace uint32_t with u32

Replace uint32_t with u32 consistent with Linux kernel coding
practice.
Problem found using checkpatch.pl
Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 347cf6d1
...@@ -108,7 +108,7 @@ void setCurrentGate(unsigned int gate) ...@@ -108,7 +108,7 @@ void setCurrentGate(unsigned int gate)
*/ */
void enable2DEngine(unsigned int enable) void enable2DEngine(unsigned int enable)
{ {
uint32_t gate; u32 gate;
gate = PEEK32(CURRENT_GATE); gate = PEEK32(CURRENT_GATE);
if (enable) { if (enable) {
...@@ -124,7 +124,7 @@ void enable2DEngine(unsigned int enable) ...@@ -124,7 +124,7 @@ void enable2DEngine(unsigned int enable)
void enableDMA(unsigned int enable) void enableDMA(unsigned int enable)
{ {
uint32_t gate; u32 gate;
/* Enable DMA Gate */ /* Enable DMA Gate */
gate = PEEK32(CURRENT_GATE); gate = PEEK32(CURRENT_GATE);
...@@ -141,7 +141,7 @@ void enableDMA(unsigned int enable) ...@@ -141,7 +141,7 @@ void enableDMA(unsigned int enable)
*/ */
void enableGPIO(unsigned int enable) void enableGPIO(unsigned int enable)
{ {
uint32_t gate; u32 gate;
/* Enable GPIO Gate */ /* Enable GPIO Gate */
gate = PEEK32(CURRENT_GATE); gate = PEEK32(CURRENT_GATE);
...@@ -158,7 +158,7 @@ void enableGPIO(unsigned int enable) ...@@ -158,7 +158,7 @@ void enableGPIO(unsigned int enable)
*/ */
void enableI2C(unsigned int enable) void enableI2C(unsigned int enable)
{ {
uint32_t gate; u32 gate;
/* Enable I2C Gate */ /* Enable I2C Gate */
gate = PEEK32(CURRENT_GATE); gate = PEEK32(CURRENT_GATE);
......
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