[PATCHv4 0/4] OMAP: Serial: remove magic and diplicates

From: Emeltchenko Andrei
Date: Fri Nov 12 2010 - 08:06:02 EST


From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

Add MDR1 Serial register definition to serial_reg and remove duplicated
code, remove magic MDR1 register numbers from serial drivers.

*v2 add OMAP keyword to MDR1 definition
*v3 remove magic from serial drivers
*v4 taking comments from Manjunath and Govindraj: typos, CC

Andrei Emeltchenko (4):
OMAP: Serial: Define OMAP uart MDR1 register definitions
OMAP1: Serial: remove magic numbers for MDR1 reg
OMAP2: Serial: remove magic numbers for MDR1 reg
OMAP: Serial: remove redefined MDR1 register definitions

arch/arm/mach-omap1/serial.c | 6 ++++--
arch/arm/mach-omap2/serial.c | 15 +++++++++------
arch/arm/plat-omap/include/plat/omap-serial.h | 3 ---
drivers/serial/omap-serial.c | 6 +++---
include/linux/serial_reg.h | 12 ++++++++++++
5 files changed, 28 insertions(+), 14 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/