From patchwork Thu Jul 25 20:59:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 261964 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 549E32C00C9 for ; Fri, 26 Jul 2013 06:59:52 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753743Ab3GYU7v (ORCPT ); Thu, 25 Jul 2013 16:59:51 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:49213 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753145Ab3GYU7u (ORCPT ); Thu, 25 Jul 2013 16:59:50 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6PKxQRN011263; Thu, 25 Jul 2013 15:59:26 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r6PKxQga010131; Thu, 25 Jul 2013 15:59:26 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Thu, 25 Jul 2013 15:59:25 -0500 Received: from [158.218.103.117] (ula0393909.am.dhcp.ti.com [158.218.103.117]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6PKxP0e004251; Thu, 25 Jul 2013 15:59:25 -0500 Message-ID: <51F191AD.9020108@ti.com> Date: Thu, 25 Jul 2013 16:59:25 -0400 From: Santosh Shilimkar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Sekhar Nori CC: , , Wolfram Sang Subject: Re: [PATCH 1/2] i2c: davinci: remove useless mach/hardware include References: <1374712099-32095-1-git-send-email-santosh.shilimkar@ti.com> <1374712099-32095-2-git-send-email-santosh.shilimkar@ti.com> <51F0F283.5080900@ti.com> In-Reply-To: <51F0F283.5080900@ti.com> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org On Thursday 25 July 2013 05:40 AM, Sekhar Nori wrote: > On Thursday 25 July 2013 05:58 AM, Santosh Shilimkar wrote: >> This driver no longer uses definitions from mach/hardware.h. >> On the other hand, including this header breaks this driver >> on non-davinci platforms which don't have such a header. >> >> Fix it. >> >> Cc: Sekhar Nori >> Cc: Wolfram Sang >> >> Signed-off-by: Santosh Shilimkar > > Acked-by: Sekhar Nori > > One minor nit: > >> --- >> drivers/i2c/busses/i2c-davinci.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c >> index fa55605..ddaa2a3 100644 >> --- a/drivers/i2c/busses/i2c-davinci.c >> +++ b/drivers/i2c/busses/i2c-davinci.c >> @@ -41,7 +41,6 @@ >> #include >> #include >> > > You can now remove this empty line too. > Yes. Updated patch below with your ack added. Regards, Santosh From d7ae1c488ebae19028f33abff76c4d684271a7fb Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Tue, 23 Jul 2013 15:40:46 -0400 Subject: [PATCH 1/2] i2c: davinci: remove useless mach/hardware include This driver no longer uses definitions from mach/hardware.h. On the other hand, including this header breaks this driver on non-davinci platforms which don't have such a header. Fix it. Cc: Wolfram Sang Acked-by: Sekhar Nori Signed-off-by: Santosh Shilimkar --- drivers/i2c/busses/i2c-davinci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c index fa55605..5898df3 100644 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c @@ -40,8 +40,6 @@ #include #include #include - -#include #include /* ----- global defines ----------------------------------------------- */