Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757493Ab0KLNF6 (ORCPT ); Fri, 12 Nov 2010 08:05:58 -0500 Received: from smtp.nokia.com ([147.243.128.24]:35726 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775Ab0KLNFy (ORCPT ); Fri, 12 Nov 2010 08:05:54 -0500 From: Emeltchenko Andrei To: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm@lists.arm.linux.org.uk, linux-serial@vger.kernel.org Subject: [PATCHv4 0/4] OMAP: Serial: remove magic and diplicates Date: Fri, 12 Nov 2010 15:03:59 +0200 Message-Id: <1289567043-6213-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> X-Mailer: git-send-email 1.7.0.4 X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1190 Lines: 27 From: Andrei Emeltchenko 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/