public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* i2c: remove unused #include <version.h>
@ 2008-08-23  5:56 Huang Weiyi
       [not found] ` <20080823130840.1265.WEIYI.HUANG-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Huang Weiyi @ 2008-08-23  5:56 UTC (permalink / raw)
  To: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg
  Cc: i2c-GZX6beZjE8VD60Wz+7aTrA

The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/i2c/busses/i2c-at91.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
index c1adcdb..9efb021 100644
--- a/drivers/i2c/busses/i2c-at91.c
+++ b/drivers/i2c/busses/i2c-at91.c
@@ -14,7 +14,6 @@
 */

 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/err.h>
 #include <linux/slab.h>


_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: i2c: remove unused #include <version.h>
       [not found] ` <20080823130840.1265.WEIYI.HUANG-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2008-08-23  7:45   ` Jean Delvare
       [not found]     ` <20080823094544.2b79f563-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2008-08-23  7:45 UTC (permalink / raw)
  To: Huang Weiyi; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA, ben-linux-elnMNo+KYs3YtjvyW6yDsg

On Sat, 23 Aug 2008 13:56:04 +0800, Huang Weiyi wrote:
> The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   drivers/i2c/busses/i2c-at91.c
> 
> This patch removes the said #include <version.h>.
> 
> Signed-off-by: Huang Weiyi <weiyi.huang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 
> diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
> index c1adcdb..9efb021 100644
> --- a/drivers/i2c/busses/i2c-at91.c
> +++ b/drivers/i2c/busses/i2c-at91.c
> @@ -14,7 +14,6 @@
>  */
> 
>  #include <linux/module.h>
> -#include <linux/version.h>
>  #include <linux/kernel.h>
>  #include <linux/err.h>
>  #include <linux/slab.h>
> 

Applied, thanks.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i2c: remove unused #include <version.h>
       [not found]     ` <20080823094544.2b79f563-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2008-08-25  7:49       ` Jean Delvare
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2008-08-25  7:49 UTC (permalink / raw)
  To: Huang Weiyi; +Cc: i2c-GZX6beZjE8VD60Wz+7aTrA, ben-linux-elnMNo+KYs3YtjvyW6yDsg

On Sat, 23 Aug 2008 09:45:44 +0200, Jean Delvare wrote:
> On Sat, 23 Aug 2008 13:56:04 +0800, Huang Weiyi wrote:
> > The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
> >   drivers/i2c/busses/i2c-at91.c
> > 
> > This patch removes the said #include <version.h>.
> > 
> > Signed-off-by: Huang Weiyi <weiyi.huang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > 
> > diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
> > index c1adcdb..9efb021 100644
> > --- a/drivers/i2c/busses/i2c-at91.c
> > +++ b/drivers/i2c/busses/i2c-at91.c
> > @@ -14,7 +14,6 @@
> >  */
> > 
> >  #include <linux/module.h>
> > -#include <linux/version.h>
> >  #include <linux/kernel.h>
> >  #include <linux/err.h>
> >  #include <linux/slab.h>
> > 
> 
> Applied, thanks.

Actually, Adrian Bunk sent this fix to Linus already, so I'm backing
out your version from my tree.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-25  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-23  5:56 i2c: remove unused #include <version.h> Huang Weiyi
     [not found] ` <20080823130840.1265.WEIYI.HUANG-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-23  7:45   ` Jean Delvare
     [not found]     ` <20080823094544.2b79f563-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-08-25  7:49       ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox