All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: sm750fb: Remove multiple blank lines
@ 2015-10-08  2:23 Amitoj Kaur Chawla
  0 siblings, 0 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-08  2:23 UTC (permalink / raw)
  To: outreachy-kernel

Remove multiple blank lines. Problem found using checkpatch.pl
CHECK: Please don't use multiple blank lines

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index a80eb94..270d10b 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -12,7 +12,6 @@ typedef struct _pllcalparam {
 }
 pllcalparam;
 
-
 logical_chip_type_t getChipType(void)
 {
 	unsigned short physicalID;
@@ -74,7 +73,6 @@ static unsigned int getPllValue(clock_type_t clockType, pll_value_t *pPLL)
 	return calcPLL(pPLL);
 }
 
-
 static unsigned int getChipClock(void)
 {
 	pll_value_t pll;
@@ -86,7 +84,6 @@ static unsigned int getChipClock(void)
 	return getPllValue(MXCLK_PLL, &pll);
 }
 
-
 /*
  * This function set up the main chip clock.
  *
@@ -121,8 +118,6 @@ static void setChipClock(unsigned int frequency)
 	}
 }
 
-
-
 static void setMemoryClock(unsigned int frequency)
 {
 	unsigned int ulReg, divisor;
@@ -162,7 +157,6 @@ static void setMemoryClock(unsigned int frequency)
 	}
 }
 
-
 /*
  * This function set up the master clock (MCLK).
  *
@@ -210,7 +204,6 @@ static void setMasterClock(unsigned int frequency)
 		}
 }
 
-
 unsigned int ddk750_getVMSize(void)
 {
 	unsigned int reg;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] staging: sm750fb: Remove multiple blank lines
@ 2015-10-09  6:27 Amitoj Kaur Chawla
  0 siblings, 0 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-09  6:27 UTC (permalink / raw)
  To: outreachy-kernel

Remove multiple blank lines. Problem found using checkpatch.pl
CHECK: Please don't use multiple blank lines

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index a15bcd1..f9960f5 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -273,7 +273,6 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 	/* Set up master clock */
 	setMasterClock(MHz(pInitParam->masterClock));
 
-
 	/* Reset the memory controller. If the memory controller is not reset in SM750,
 	   the system might hang when sw accesses the memory.
 	   The memory should be resetted after changing the MXCLK.
@@ -388,7 +387,6 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 		xcnt = sizeof(xparm_MXCLK) / sizeof(xparm_MXCLK[0]);
 	}
 
-
 	for (N = 15; N > 1; N--) {
 		/* RN will not exceed maximum long if @request <= 285 MHZ (for 32bit cpu) */
 		RN = N * request;
@@ -443,4 +441,3 @@ unsigned int formatPllReg(pll_value_t *pPLL)
 	return ulPllReg;
 }
 
-
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] staging: sm750fb: Remove multiple blank lines
@ 2018-01-08  1:03 Marcelo Guzmán Lamperti
  0 siblings, 0 replies; 3+ messages in thread
From: Marcelo Guzmán Lamperti @ 2018-01-08  1:03 UTC (permalink / raw)
  To: linux-fbdev

Remove multiple blank lines. Issue found by checkpatch.

Signed-off-by: Marcelo Guzmán Lamperti <marcelo.guzman.lamperti@gmail.com>
---
 drivers/staging/sm750fb/ddk750_sii164.c | 8 --------
 drivers/staging/sm750fb/ddk750_sii164.h | 2 --
 2 files changed, 10 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
index c787a74c4f9c..4b34a083f5cf 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.c
+++ b/drivers/staging/sm750fb/ddk750_sii164.c
@@ -62,8 +62,6 @@ unsigned short sii164GetDeviceID(void)
 	return deviceID;
 }
 
-
-
 /* DVI.C will handle all SiI164 chip stuffs and try it best to make code minimal and useful */
 
 /*
@@ -239,10 +237,6 @@ long sii164InitChip(unsigned char edgeSelect,
 	return -1;
 }
 
-
-
-
-
 /* below sii164 function is not necessary */
 
 #ifdef SII164_FULL_FUNCTIONS
@@ -402,5 +396,3 @@ void sii164ClearInterrupt(void)
 #endif
 
 #endif
-
-
diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h
index 2e9a88cd6af3..862e7bf27353 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.h
+++ b/drivers/staging/sm750fb/ddk750_sii164.h
@@ -12,7 +12,6 @@ enum sii164_hot_plug_mode {
 	SII164_HOTPLUG_USE_HTPLG            /* Use Hot Plug detect bit. */
 };
 
-
 /* Silicon Image SiI164 chip prototype */
 long sii164InitChip(unsigned char edgeSelect,
 		    unsigned char busSelect,
@@ -28,7 +27,6 @@ long sii164InitChip(unsigned char edgeSelect,
 unsigned short sii164GetVendorID(void);
 unsigned short sii164GetDeviceID(void);
 
-
 #ifdef SII164_FULL_FUNCTIONS
 void sii164ResetChip(void);
 char *sii164GetChipString(void);
-- 
2.13.6


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-08  1:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08  1:03 [PATCH] staging: sm750fb: Remove multiple blank lines Marcelo Guzmán Lamperti
  -- strict thread matches above, loose matches on Subject: below --
2015-10-09  6:27 Amitoj Kaur Chawla
2015-10-08  2:23 Amitoj Kaur Chawla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.