All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] serial: sprd: Remove unused structure
@ 2018-08-11  1:34 Baolin Wang
  2018-08-11  1:34 ` [PATCH 2/5] serial: sprd: Use readable macros instead of magic number Baolin Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Baolin Wang @ 2018-08-11  1:34 UTC (permalink / raw)
  To: gregkh, jslaby
  Cc: orsonzhai, baolin.wang, zhang.lyra, broonie, linux-serial, linux-kernel

Remove the unused reg_backup structure.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
---
 drivers/tty/serial/sprd_serial.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index 828f114..1b0e3fb 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -95,19 +95,8 @@
 #define SPRD_IMSR_BREAK_DETECT		BIT(7)
 #define SPRD_IMSR_TIMEOUT		BIT(13)
 
-struct reg_backup {
-	u32 ien;
-	u32 ctrl0;
-	u32 ctrl1;
-	u32 ctrl2;
-	u32 clkd0;
-	u32 clkd1;
-	u32 dspwait;
-};
-
 struct sprd_uart_port {
 	struct uart_port port;
-	struct reg_backup reg_bak;
 	char name[16];
 };
 
-- 
1.9.1


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

end of thread, other threads:[~2018-09-11  6:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-11  1:34 [PATCH 1/5] serial: sprd: Remove unused structure Baolin Wang
2018-08-11  1:34 ` [PATCH 2/5] serial: sprd: Use readable macros instead of magic number Baolin Wang
2018-09-04  6:54   ` Chunyan Zhang
2018-08-11  1:34 ` [PATCH 3/5] serial: sprd: Remove unnecessary resource validation Baolin Wang
2018-09-04  6:55   ` Chunyan Zhang
2018-08-11  1:34 ` [PATCH 4/5] serial: sprd: Change 'int' to 'unsigned int' Baolin Wang
2018-09-04  6:55   ` Chunyan Zhang
2018-08-11  1:34 ` [PATCH 5/5] serial: sprd: Fix the indentation issue Baolin Wang
2018-09-04  6:57   ` Chunyan Zhang
2018-09-04  5:34 ` [PATCH 1/5] serial: sprd: Remove unused structure Baolin Wang
2018-09-04  6:52 ` Chunyan Zhang
2018-09-11  6:09   ` Baolin Wang

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.