diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-09-22 02:03:26 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-09-22 02:03:26 -0700 |
| commit | dcfae049487fc4a1ae4ee499161f3005915a83fb (patch) | |
| tree | ada48f4fb46dbf0ed7d84be378ad1cc7bfab0f94 | |
| parent | 6c16fa73032b781288a6c0d29731ba59d2bf1c8e (diff) | |
[PATCH] I2C: remove I2C_VERSION and I2C_DATE as they make no sense in the kernel tree.
| -rw-r--r-- | drivers/i2c/busses/i2c-ali1535.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-ali15x3.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-elektor.c | 18 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-piix4.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-rpx.c | 2 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-sis5595.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-sis630.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-velleman.c | 4 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-via.c | 1 | ||||
| -rw-r--r-- | drivers/i2c/i2c-dev.c | 3 | ||||
| -rw-r--r-- | include/linux/i2c.h | 3 |
12 files changed, 13 insertions, 24 deletions
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index 65782574600c..aac645872760 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c @@ -525,7 +525,6 @@ static struct pci_driver ali1535_driver = { static int __init i2c_ali1535_init(void) { - printk(KERN_INFO "i2c-ali1535 version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&ali1535_driver); } diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index ffa86ad452ab..1050dfdd4968 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c @@ -517,7 +517,6 @@ static struct pci_driver ali15x3_driver = { static int __init i2c_ali15x3_init(void) { - printk("i2c-ali15x3.o version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&ali15x3_driver); } diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 21b39b8f70f7..98db1a13a0c2 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c @@ -77,7 +77,7 @@ static void pcf_isa_setbyte(void *data, int ctl, int val) val |= I2C_PCF_ENI; } - DEB3(printk(KERN_DEBUG "i2c-elektor.o: Write 0x%X 0x%02X\n", address, val & 255)); + DEB3(printk(KERN_DEBUG "i2c-elektor: Write 0x%X 0x%02X\n", address, val & 255)); switch (mmapped) { case 0: /* regular I/O */ @@ -98,7 +98,7 @@ static int pcf_isa_getbyte(void *data, int ctl) int address = ctl ? (base + 1) : base; int val = mmapped ? readb(address) : inb(address); - DEB3(printk(KERN_DEBUG "i2c-elektor.o: Read 0x%X 0x%02X\n", address, val)); + DEB3(printk(KERN_DEBUG "i2c-elektor: Read 0x%X 0x%02X\n", address, val)); return (val); } @@ -143,14 +143,14 @@ static int pcf_isa_init(void) if (!mmapped) { if (!request_region(base, 2, "i2c (isa bus adapter)")) { printk(KERN_ERR - "i2c-elektor.o: requested I/O region (0x%X:2) " + "i2c-elektor: requested I/O region (0x%X:2) " "is in use.\n", base); return -ENODEV; } } if (irq > 0) { if (request_irq(irq, pcf_isa_handler, 0, "PCF8584", 0) < 0) { - printk(KERN_ERR "i2c-elektor.o: Request irq%d failed\n", irq); + printk(KERN_ERR "i2c-elektor: Request irq%d failed\n", irq); irq = 0; } else enable_irq(irq); @@ -196,7 +196,7 @@ static int __init i2c_pcfisa_init(void) /* yeap, we've found cypress, let's check config */ if (!pci_read_config_byte(cy693_dev, 0x47, &config)) { - DEB3(printk(KERN_DEBUG "i2c-elektor.o: found cy82c693, config register 0x47 = 0x%02x.\n", config)); + DEB3(printk(KERN_DEBUG "i2c-elektor: found cy82c693, config register 0x47 = 0x%02x.\n", config)); /* UP2000 board has this register set to 0xe1, but the most significant bit as seems can be @@ -218,7 +218,7 @@ static int __init i2c_pcfisa_init(void) 8.25 MHz (PCI/4) clock (this can be read from cypress) */ clock = I2C_PCF_CLK | I2C_PCF_TRNS90; - printk(KERN_INFO "i2c-elektor.o: found API UP2000 like board, will probe PCF8584 later.\n"); + printk(KERN_INFO "i2c-elektor: found API UP2000 like board, will probe PCF8584 later.\n"); } } } @@ -227,11 +227,11 @@ static int __init i2c_pcfisa_init(void) /* sanity checks for mmapped I/O */ if (mmapped && base < 0xc8000) { - printk(KERN_ERR "i2c-elektor.o: incorrect base address (0x%0X) specified for mmapped I/O.\n", base); + printk(KERN_ERR "i2c-elektor: incorrect base address (0x%0X) specified for mmapped I/O.\n", base); return -ENODEV; } - printk(KERN_INFO "i2c-elektor.o: i2c pcf8584-isa adapter module version %s (%s)\n", I2C_VERSION, I2C_DATE); + printk(KERN_INFO "i2c-elektor: i2c pcf8584-isa adapter driver\n"); if (base == 0) { base = DEFAULT_BASE; @@ -243,7 +243,7 @@ static int __init i2c_pcfisa_init(void) if (i2c_pcf_add_bus(&pcf_isa_ops) < 0) goto fail; - printk(KERN_ERR "i2c-elektor.o: found device at %#x.\n", base); + printk(KERN_ERR "i2c-elektor: found device at %#x.\n", base); return 0; diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 1f07c0c358aa..ead0a0a6c815 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -616,7 +616,6 @@ static struct pci_driver i801_driver = { static int __init i2c_i801_init(void) { - printk(KERN_INFO "i2c-i801 version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&i801_driver); } diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index e3ac156b7c7f..c46252bffd5e 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c @@ -473,7 +473,6 @@ static struct pci_driver piix4_driver = { static int __init i2c_piix4_init(void) { - printk(KERN_INFO "i2c-piix4 version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&piix4_driver); } diff --git a/drivers/i2c/busses/i2c-rpx.c b/drivers/i2c/busses/i2c-rpx.c index 8db56630b86a..6bc2f507518d 100644 --- a/drivers/i2c/busses/i2c-rpx.c +++ b/drivers/i2c/busses/i2c-rpx.c @@ -78,7 +78,7 @@ static struct i2c_adapter rpx_ops = { int __init i2c_rpx_init(void) { - printk("i2c-rpx.o: i2c MPC8xx module version %s (%s)\n", I2C_VERSION, I2C_DATE); + printk(KERN_INFO "i2c-rpx: i2c MPC8xx driver\n"); /* reset hardware to sane state */ rpx_iic_init(&rpx_data); diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c index 554f14e2f9eb..bef21946a6f4 100644 --- a/drivers/i2c/busses/i2c-sis5595.c +++ b/drivers/i2c/busses/i2c-sis5595.c @@ -399,7 +399,6 @@ static struct pci_driver sis5595_driver = { static int __init i2c_sis5595_init(void) { - printk(KERN_INFO "i2c-sis5595 version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&sis5595_driver); } diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index 74a03e3c2186..6245bfbe5f85 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c @@ -474,7 +474,6 @@ static struct pci_driver sis630_driver = { static int __init i2c_sis630_init(void) { - printk("i2c-sis630.o version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&sis630_driver); } diff --git a/drivers/i2c/busses/i2c-velleman.c b/drivers/i2c/busses/i2c-velleman.c index ee55bd78133c..8a07bc6c0c93 100644 --- a/drivers/i2c/busses/i2c-velleman.c +++ b/drivers/i2c/busses/i2c-velleman.c @@ -120,7 +120,7 @@ static struct i2c_adapter bit_velle_ops = { static int __init i2c_bitvelle_init(void) { - printk(KERN_INFO "i2c-velleman.o: i2c Velleman K8000 adapter module version %s (%s)\n", I2C_VERSION, I2C_DATE); + printk(KERN_INFO "i2c-velleman: i2c Velleman K8000 driver\n"); if (base==0) { /* probe some values */ base=DEFAULT_BASE; @@ -140,7 +140,7 @@ static int __init i2c_bitvelle_init(void) return -ENODEV; } } - printk(KERN_DEBUG "i2c-velleman.o: found device at %#x.\n",base); + printk(KERN_DEBUG "i2c-velleman: found device at %#x.\n",base); return 0; } diff --git a/drivers/i2c/busses/i2c-via.c b/drivers/i2c/busses/i2c-via.c index 90fa8a8acefb..bdd79d0ae3e9 100644 --- a/drivers/i2c/busses/i2c-via.c +++ b/drivers/i2c/busses/i2c-via.c @@ -165,7 +165,6 @@ static struct pci_driver vt586b_driver = { static int __init i2c_vt586b_init(void) { - printk(KERN_INFO "i2c-via version %s (%s)\n", I2C_VERSION, I2C_DATE); return pci_module_init(&vt586b_driver); } diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index 32b886b031f0..613effc44f3a 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c @@ -505,8 +505,7 @@ static int __init i2c_dev_init(void) { int res; - printk(KERN_INFO "i2c /dev entries driver module version %s (%s)\n", - I2C_VERSION, I2C_DATE); + printk(KERN_INFO "i2c /dev entries driver\n"); if (register_chrdev(I2C_MAJOR,"i2c",&i2cdev_fops)) { printk(KERN_ERR "i2c-dev.o: unable to get major %d for i2c bus\n", diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 2bfab00071ca..d1c69565d4dc 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -28,9 +28,6 @@ #ifndef _LINUX_I2C_H #define _LINUX_I2C_H -#define I2C_DATE "20021208" -#define I2C_VERSION "2.7.0" - #include <linux/module.h> #include <linux/types.h> #include <linux/i2c-id.h> |
