aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/scx200_acb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/scx200_acb.c')
-rw-r--r--drivers/i2c/busses/scx200_acb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index 986e5f62debe..91e349c884c5 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -550,7 +550,7 @@ static int __devexit scx200_remove(struct platform_device *pdev)
550 return 0; 550 return 0;
551} 551}
552 552
553static struct platform_driver scx200_pci_drv = { 553static struct platform_driver scx200_pci_driver = {
554 .driver = { 554 .driver = {
555 .name = "cs5535-smb", 555 .name = "cs5535-smb",
556 .owner = THIS_MODULE, 556 .owner = THIS_MODULE,
@@ -593,14 +593,14 @@ static int __init scx200_acb_init(void)
593 return 0; 593 return 0;
594 594
595 /* No ISA devices; register the platform driver for PCI-based devices */ 595 /* No ISA devices; register the platform driver for PCI-based devices */
596 return platform_driver_register(&scx200_pci_drv); 596 return platform_driver_register(&scx200_pci_driver);
597} 597}
598 598
599static void __exit scx200_acb_cleanup(void) 599static void __exit scx200_acb_cleanup(void)
600{ 600{
601 struct scx200_acb_iface *iface; 601 struct scx200_acb_iface *iface;
602 602
603 platform_driver_unregister(&scx200_pci_drv); 603 platform_driver_unregister(&scx200_pci_driver);
604 604
605 mutex_lock(&scx200_acb_list_mutex); 605 mutex_lock(&scx200_acb_list_mutex);
606 while ((iface = scx200_acb_list) != NULL) { 606 while ((iface = scx200_acb_list) != NULL) {