From patchwork Fri Jan 3 09:24:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3430711 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 94D6B9F295 for ; Fri, 3 Jan 2014 09:28:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7209D2013A for ; Fri, 3 Jan 2014 09:28:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87E6320138 for ; Fri, 3 Jan 2014 09:28:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750841AbaACJ23 (ORCPT ); Fri, 3 Jan 2014 04:28:29 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:43364 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751086AbaACJ21 (ORCPT ); Fri, 3 Jan 2014 04:28:27 -0500 Received: by mail-pa0-f46.google.com with SMTP id kp14so13543863pab.5 for ; Fri, 03 Jan 2014 01:28:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cqSXJCjB1o191kDGZKAGMtAc9tzq3ze5VL4ejk24Js8=; b=mUg1KGlI0FuC4vhe70PIaKTSas3wFWRGjKVo1E8E04NPgVh+UWBBIm2xyeS1JqUDt1 JU+ir07yD7qrSBa2UBWLG1ohswppdZc2UiT8afdOiow/xkpNPKvbG1G6ePZ4+5QVeJoB sPk3J6kPEkxKzyrhgfgvD1NKQakpjSUJyvVTCi3XwEO+F2xpbLU2A3ZgcaipeMJuR8OB jM9qgIZeaRHlOCtvwN8InfhC/Anl33mRDZeAhN5+80hptFFBgKNZ9JLjvdLIbrr844cj E9V6Gb/nmg0u04Z+lnMoYknVL1Y86v2eqASg2HDeQJScLmtJQSlMHGCKFNuBad0HvUiz N02A== X-Gm-Message-State: ALoCoQkFu82cCHRUy0CUi8jmPiJIccZM/nw+qy4Som3oh2MjC3Q5WF3TY/HJUD+l5FSK67JkNPA+ X-Received: by 10.68.16.202 with SMTP id i10mr53888878pbd.149.1388741307296; Fri, 03 Jan 2014 01:28:27 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pq1sm248528pbc.8.2014.01.03.01.28.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 01:28:26 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] ARM: SAMSUNG: Remove hardware.h inclusion Date: Fri, 3 Jan 2014 14:54:38 +0530 Message-Id: <1388741079-16202-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1388741079-16202-1-git-send-email-sachin.kamat@linaro.org> References: <1388741079-16202-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The contents of this header file are not referenced anywhere in the included .c files except in devs.c. Remove its inclusion. For devs.c, explicitly include sizes.h header for SZ_* macros. Signed-off-by: Sachin Kamat --- arch/arm/plat-samsung/clock.c | 1 - arch/arm/plat-samsung/devs.c | 2 +- arch/arm/plat-samsung/init.c | 2 -- arch/arm/plat-samsung/pm.c | 1 - arch/arm/plat-samsung/s5p-dev-uart.c | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c index 494deadb4602..179bdc17b667 100644 --- a/arch/arm/plat-samsung/clock.c +++ b/arch/arm/plat-samsung/clock.c @@ -42,7 +42,6 @@ #include #endif -#include #include #include diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 78460f836e89..7a29f1256439 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -41,7 +42,6 @@ #include #include -#include #include #include #include diff --git a/arch/arm/plat-samsung/init.c b/arch/arm/plat-samsung/init.c index e63e3cea9dac..9183ded63552 100644 --- a/arch/arm/plat-samsung/init.c +++ b/arch/arm/plat-samsung/init.c @@ -23,8 +23,6 @@ #include #include -#include - #include #include diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 72e8e8f234f4..0f70339d60da 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -25,7 +25,6 @@ #include #ifdef CONFIG_SAMSUNG_ATAGS -#include #include #ifndef CONFIG_ARCH_EXYNOS #include diff --git a/arch/arm/plat-samsung/s5p-dev-uart.c b/arch/arm/plat-samsung/s5p-dev-uart.c index cafa3deddcc1..8c4487af98c8 100644 --- a/arch/arm/plat-samsung/s5p-dev-uart.c +++ b/arch/arm/plat-samsung/s5p-dev-uart.c @@ -18,7 +18,6 @@ #include #include -#include #include #include