]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/acpi/enumeration.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
[karo-tx-linux.git] / Documentation / acpi / enumeration.txt
index 64139a189a4c4f79bd1a43f3d9a5671bd40b0681..aca4e69121b7a2bb8ab38d2002066bcab49af915 100644 (file)
@@ -228,19 +228,9 @@ ACPI handle like:
 I2C serial bus support
 ~~~~~~~~~~~~~~~~~~~~~~
 The slaves behind I2C bus controller only need to add the ACPI IDs like
-with the platform and SPI drivers. However the I2C bus controller driver
-needs to call acpi_i2c_register_devices() after it has added the adapter.
-
-An I2C bus (controller) driver does:
-
-       ...
-       ret = i2c_add_numbered_adapter(adapter);
-       if (ret)
-               /* handle error */
-
-       of_i2c_register_devices(adapter);
-       /* Enumerate the slave devices behind this bus via ACPI */
-       acpi_i2c_register_devices(adapter);
+with the platform and SPI drivers. The I2C core automatically enumerates
+any slave devices behind the controller device once the adapter is
+registered.
 
 Below is an example of how to add ACPI support to the existing mpu3050
 input driver: