Re: [PATCH 2/5] serial: sprd: Use readable macros instead of magic number

2018-09-03 Thread Chunyan Zhang
On 11 August 2018 at 09:34, Baolin Wang wrote: > Define readable macros instead of magic number to make code more readable. > > Signed-off-by: Baolin Wang Acked-by: Chunyan Zhang > --- > drivers/tty/serial/sprd_serial.c | 25 + > 1 file changed, 17 insertions(+), 8 del

[PATCH 2/5] serial: sprd: Use readable macros instead of magic number

2018-08-10 Thread Baolin Wang
Define readable macros instead of magic number to make code more readable. Signed-off-by: Baolin Wang --- drivers/tty/serial/sprd_serial.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_ser