diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ali1535.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ali15x3.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-amd756.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-amd8111.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-piix4.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis5595.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis630.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis96x.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-via.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index 6fd8ad7faa06..1e277ba5a9f3 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c | |||
@@ -494,7 +494,7 @@ static int __devinit ali1535_probe(struct pci_dev *dev, const struct pci_device_ | |||
494 | return -ENODEV; | 494 | return -ENODEV; |
495 | } | 495 | } |
496 | 496 | ||
497 | /* set up the driverfs linkage to our parent device */ | 497 | /* set up the sysfs linkage to our parent device */ |
498 | ali1535_adapter.dev.parent = &dev->dev; | 498 | ali1535_adapter.dev.parent = &dev->dev; |
499 | 499 | ||
500 | snprintf(ali1535_adapter.name, I2C_NAME_SIZE, | 500 | snprintf(ali1535_adapter.name, I2C_NAME_SIZE, |
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index e4e0df106812..e47fe01bf42a 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c | |||
@@ -489,7 +489,7 @@ static int __devinit ali15x3_probe(struct pci_dev *dev, const struct pci_device_ | |||
489 | return -ENODEV; | 489 | return -ENODEV; |
490 | } | 490 | } |
491 | 491 | ||
492 | /* set up the driverfs linkage to our parent device */ | 492 | /* set up the sysfs linkage to our parent device */ |
493 | ali15x3_adapter.dev.parent = &dev->dev; | 493 | ali15x3_adapter.dev.parent = &dev->dev; |
494 | 494 | ||
495 | snprintf(ali15x3_adapter.name, I2C_NAME_SIZE, | 495 | snprintf(ali15x3_adapter.name, I2C_NAME_SIZE, |
diff --git a/drivers/i2c/busses/i2c-amd756.c b/drivers/i2c/busses/i2c-amd756.c index fa6155a54cc3..7490dc1771ae 100644 --- a/drivers/i2c/busses/i2c-amd756.c +++ b/drivers/i2c/busses/i2c-amd756.c | |||
@@ -374,7 +374,7 @@ static int __devinit amd756_probe(struct pci_dev *pdev, | |||
374 | dev_dbg(&pdev->dev, "SMBREV = 0x%X\n", temp); | 374 | dev_dbg(&pdev->dev, "SMBREV = 0x%X\n", temp); |
375 | dev_dbg(&pdev->dev, "AMD756_smba = 0x%X\n", amd756_ioport); | 375 | dev_dbg(&pdev->dev, "AMD756_smba = 0x%X\n", amd756_ioport); |
376 | 376 | ||
377 | /* set up the driverfs linkage to our parent device */ | 377 | /* set up the sysfs linkage to our parent device */ |
378 | amd756_smbus.dev.parent = &pdev->dev; | 378 | amd756_smbus.dev.parent = &pdev->dev; |
379 | 379 | ||
380 | sprintf(amd756_smbus.name, "SMBus %s adapter at %04x", | 380 | sprintf(amd756_smbus.name, "SMBus %s adapter at %04x", |
diff --git a/drivers/i2c/busses/i2c-amd8111.c b/drivers/i2c/busses/i2c-amd8111.c index 5bba3fb50d71..e15f9e37716a 100644 --- a/drivers/i2c/busses/i2c-amd8111.c +++ b/drivers/i2c/busses/i2c-amd8111.c | |||
@@ -371,7 +371,7 @@ static int __devinit amd8111_probe(struct pci_dev *dev, | |||
371 | smbus->adapter.algo = &smbus_algorithm; | 371 | smbus->adapter.algo = &smbus_algorithm; |
372 | smbus->adapter.algo_data = smbus; | 372 | smbus->adapter.algo_data = smbus; |
373 | 373 | ||
374 | /* set up the driverfs linkage to our parent device */ | 374 | /* set up the sysfs linkage to our parent device */ |
375 | smbus->adapter.dev.parent = &dev->dev; | 375 | smbus->adapter.dev.parent = &dev->dev; |
376 | 376 | ||
377 | pci_write_config_dword(smbus->dev, AMD_PCI_MISC, 0); | 377 | pci_write_config_dword(smbus->dev, AMD_PCI_MISC, 0); |
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 21f2671f7220..6569a36985bd 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -522,7 +522,7 @@ static int __devinit i801_probe(struct pci_dev *dev, const struct pci_device_id | |||
522 | else | 522 | else |
523 | dev_dbg(&dev->dev, "SMBus using PCI Interrupt\n"); | 523 | dev_dbg(&dev->dev, "SMBus using PCI Interrupt\n"); |
524 | 524 | ||
525 | /* set up the driverfs linkage to our parent device */ | 525 | /* set up the sysfs linkage to our parent device */ |
526 | i801_adapter.dev.parent = &dev->dev; | 526 | i801_adapter.dev.parent = &dev->dev; |
527 | 527 | ||
528 | snprintf(i801_adapter.name, I2C_NAME_SIZE, | 528 | snprintf(i801_adapter.name, I2C_NAME_SIZE, |
diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index d888293c1a9c..21b180904085 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c | |||
@@ -425,7 +425,7 @@ static int __devinit piix4_probe(struct pci_dev *dev, | |||
425 | if (retval) | 425 | if (retval) |
426 | return retval; | 426 | return retval; |
427 | 427 | ||
428 | /* set up the driverfs linkage to our parent device */ | 428 | /* set up the sysfs linkage to our parent device */ |
429 | piix4_adapter.dev.parent = &dev->dev; | 429 | piix4_adapter.dev.parent = &dev->dev; |
430 | 430 | ||
431 | snprintf(piix4_adapter.name, I2C_NAME_SIZE, | 431 | snprintf(piix4_adapter.name, I2C_NAME_SIZE, |
diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c index d333babe4ad3..a6feed449dbe 100644 --- a/drivers/i2c/busses/i2c-sis5595.c +++ b/drivers/i2c/busses/i2c-sis5595.c | |||
@@ -384,7 +384,7 @@ static int __devinit sis5595_probe(struct pci_dev *dev, const struct pci_device_ | |||
384 | return -ENODEV; | 384 | return -ENODEV; |
385 | } | 385 | } |
386 | 386 | ||
387 | /* set up the driverfs linkage to our parent device */ | 387 | /* set up the sysfs linkage to our parent device */ |
388 | sis5595_adapter.dev.parent = &dev->dev; | 388 | sis5595_adapter.dev.parent = &dev->dev; |
389 | 389 | ||
390 | sprintf(sis5595_adapter.name, "SMBus SIS5595 adapter at %04x", | 390 | sprintf(sis5595_adapter.name, "SMBus SIS5595 adapter at %04x", |
diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index 172bacf932a6..5fd734f99ee9 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c | |||
@@ -477,7 +477,7 @@ static int __devinit sis630_probe(struct pci_dev *dev, const struct pci_device_i | |||
477 | return -ENODEV; | 477 | return -ENODEV; |
478 | } | 478 | } |
479 | 479 | ||
480 | /* set up the driverfs linkage to our parent device */ | 480 | /* set up the sysfs linkage to our parent device */ |
481 | sis630_adapter.dev.parent = &dev->dev; | 481 | sis630_adapter.dev.parent = &dev->dev; |
482 | 482 | ||
483 | sprintf(sis630_adapter.name, "SMBus SIS630 adapter at %04x", | 483 | sprintf(sis630_adapter.name, "SMBus SIS630 adapter at %04x", |
diff --git a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c index 73dae449fb23..4157b0cd604c 100644 --- a/drivers/i2c/busses/i2c-sis96x.c +++ b/drivers/i2c/busses/i2c-sis96x.c | |||
@@ -297,7 +297,7 @@ static int __devinit sis96x_probe(struct pci_dev *dev, | |||
297 | return -EINVAL; | 297 | return -EINVAL; |
298 | } | 298 | } |
299 | 299 | ||
300 | /* set up the driverfs linkage to our parent device */ | 300 | /* set up the sysfs linkage to our parent device */ |
301 | sis96x_adapter.dev.parent = &dev->dev; | 301 | sis96x_adapter.dev.parent = &dev->dev; |
302 | 302 | ||
303 | snprintf(sis96x_adapter.name, I2C_NAME_SIZE, | 303 | snprintf(sis96x_adapter.name, I2C_NAME_SIZE, |
diff --git a/drivers/i2c/busses/i2c-via.c b/drivers/i2c/busses/i2c-via.c index bbcc62151f7c..81520868797b 100644 --- a/drivers/i2c/busses/i2c-via.c +++ b/drivers/i2c/busses/i2c-via.c | |||
@@ -138,7 +138,7 @@ static int __devinit vt586b_probe(struct pci_dev *dev, const struct pci_device_i | |||
138 | outb(inb(I2C_DIR) & ~(I2C_SDA | I2C_SCL), I2C_DIR); | 138 | outb(inb(I2C_DIR) & ~(I2C_SDA | I2C_SCL), I2C_DIR); |
139 | outb(inb(I2C_OUT) & ~(I2C_SDA | I2C_SCL), I2C_OUT); | 139 | outb(inb(I2C_OUT) & ~(I2C_SDA | I2C_SCL), I2C_OUT); |
140 | 140 | ||
141 | /* set up the driverfs linkage to our parent device */ | 141 | /* set up the sysfs linkage to our parent device */ |
142 | vt586b_adapter.dev.parent = &dev->dev; | 142 | vt586b_adapter.dev.parent = &dev->dev; |
143 | 143 | ||
144 | res = i2c_bit_add_bus(&vt586b_adapter); | 144 | res = i2c_bit_add_bus(&vt586b_adapter); |