Skip to contentSkip to conversation

i2c: remove unused #include <version.h>

PATCH Applied Huang Weiyi 2 participants 3 messages Aug 23, 2008 – Aug 25, 2008 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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>.

drivers/i2c/busses/i2c-at91.c +0 -1
index c1adcdb..9efb021 100644
@@ -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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

A message that is not in the archive (sent off-list or not yet received): 20080823130840.1265.WEIYI.HUANG-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Applied
#2 lore raw
Quoted 13 lines · Huang Weiyi

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>.

drivers/i2c/busses/i2c-at91.c +0 -0
index c1adcdb..9efb021 100644

drivers/i2c/busses/i2c-at91.c line 19

Quoted 7 lines
drivers/i2c/busses/i2c-at91.c +0 -1
@@ -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.

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 15 lines · Jean Delvare
Quoted 14 lines · Huang Weiyi

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>.

drivers/i2c/busses/i2c-at91.c +0 -0
index c1adcdb..9efb021 100644
@@ -14,7 +14,6 @@
 */
 
Quoted 8 lines

drivers/i2c/busses/i2c-at91.c line 19

Quoted 6 lines
drivers/i2c/busses/i2c-at91.c +0 -1
 #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.

Signature · 6 lines
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c