From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [PATCH 2/3] i2c: Drivers shouldn't include Date: Sat, 13 Nov 2010 17:59:16 +0100 Message-ID: <20101113175916.3bb94e7d@endymion.delvare> References: <20101105210753.4d1a03bc@endymion.delvare> <4CDEA1EF.407@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CDEA1EF.407@infradead.org> Sender: linux-media-owner@vger.kernel.org To: Mauro Carvalho Chehab Cc: Linux I2C , LMML , Michael Hunold List-Id: linux-i2c@vger.kernel.org On Sat, 13 Nov 2010 12:34:23 -0200, Mauro Carvalho Chehab wrote: > Em 05-11-2010 18:07, Jean Delvare escreveu: > > Drivers don't need to include , especially not when > > they don't use anything that header file provides. > > > > Signed-off-by: Jean Delvare > > Cc: Michael Hunold > > Cc: Mauro Carvalho Chehab > > I suspect that you want to include it via your tree, so: > Acked-by: Mauro Carvalho Chehab Indeed, thanks. > > --- > > drivers/media/common/saa7146_i2c.c | 1 - > > drivers/media/video/ir-kbd-i2c.c | 1 - > > drivers/staging/olpc_dcon/olpc_dcon.c | 1 - > > 3 files changed, 3 deletions(-) > > > > --- linux-2.6.37-rc1.orig/drivers/media/common/saa7146_i2c.c 2010-11-02 09:19:35.000000000 +0100 > > +++ linux-2.6.37-rc1/drivers/media/common/saa7146_i2c.c 2010-11-05 15:34:25.000000000 +0100 > > @@ -391,7 +391,6 @@ static int saa7146_i2c_xfer(struct i2c_a > > > > /*****************************************************************************/ > > /* i2c-adapter helper functions */ > > -#include > > > > /* exported algorithm data */ > > static struct i2c_algorithm saa7146_algo = { > > --- linux-2.6.37-rc1.orig/drivers/media/video/ir-kbd-i2c.c 2010-11-02 09:19:35.000000000 +0100 > > +++ linux-2.6.37-rc1/drivers/media/video/ir-kbd-i2c.c 2010-11-05 15:34:18.000000000 +0100 > > @@ -44,7 +44,6 @@ > > #include > > #include > > #include > > -#include > > #include > > > > #include > > --- linux-2.6.37-rc1.orig/drivers/staging/olpc_dcon/olpc_dcon.c 2010-11-02 09:19:37.000000000 +0100 > > +++ linux-2.6.37-rc1/drivers/staging/olpc_dcon/olpc_dcon.c 2010-11-05 15:34:14.000000000 +0100 > > @@ -17,7 +17,6 @@ > > #include > > #include > > #include > > -#include > > #include > > #include > > #include > > > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-i2c" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Jean Delvare