aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 8b92a4666e02..e4476743f203 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -756,12 +756,12 @@ static int __devinit iic_probe(struct of_device *ofdev,
756 goto error_cleanup; 756 goto error_cleanup;
757 } 757 }
758 758
759 /* Now register all the child nodes */
760 of_register_i2c_devices(adap, np);
761
762 dev_info(&ofdev->dev, "using %s mode\n", 759 dev_info(&ofdev->dev, "using %s mode\n",
763 dev->fast_mode ? "fast (400 kHz)" : "standard (100 kHz)"); 760 dev->fast_mode ? "fast (400 kHz)" : "standard (100 kHz)");
764 761
762 /* Now register all the child nodes */
763 of_register_i2c_devices(adap, np);
764
765 return 0; 765 return 0;
766 766
767error_cleanup: 767error_cleanup: