···369369X!Edrivers/acpi/bus.c370370-->371371!Edrivers/acpi/scan.c372372+!Idrivers/acpi/scan.c372373<!-- No correct structured comments373374X!Edrivers/acpi/pci_bind.c374375-->
+17-10
drivers/acpi/scan.c
···475475static DECLARE_MUTEX(acpi_bus_drivers_lock);476476477477/**478478- * acpi_bus_match 479479- * --------------478478+ * acpi_bus_match - match device IDs to driver's supported IDs479479+ * @device: the device that we are trying to match to a driver480480+ * @driver: driver whose device id table is being checked481481+ *480482 * Checks the device's hardware (_HID) or compatible (_CID) ids to see if it481483 * matches the specified driver's criteria.482484 */···491489}492490493491/**494494- * acpi_bus_driver_init 495495- * --------------------492492+ * acpi_bus_driver_init - add a device to a driver493493+ * @device: the device to add and initialize494494+ * @driver: driver for the device495495+ *496496 * Used to initialize a device via its device driver. Called whenever a 497497 * driver is bound to a device. Invokes the driver's add() and start() ops.498498 */···607603}608604609605/**610610- * acpi_bus_register_driver 611611- * ------------------------ 606606+ * acpi_bus_register_driver - register a driver with the ACPI bus607607+ * @driver: driver being registered608608+ *612609 * Registers a driver with the ACPI bus. Searches the namespace for all613610 * devices that match the driver's criteria and binds. Returns the614611 * number of devices that were claimed by the driver, or a negative···638633EXPORT_SYMBOL(acpi_bus_register_driver);639634640635/**641641- * acpi_bus_unregister_driver 642642- * --------------------------636636+ * acpi_bus_unregister_driver - unregisters a driver with the APIC bus637637+ * @driver: driver to unregister638638+ *643639 * Unregisters a driver with the ACPI bus. Searches the namespace for all644640 * devices that match the driver's criteria and unbinds.645641 */···666660EXPORT_SYMBOL(acpi_bus_unregister_driver);667661668662/**669669- * acpi_bus_find_driver 670670- * --------------------663663+ * acpi_bus_find_driver - check if there is a driver installed for the device664664+ * @device: device that we are trying to find a supporting driver for665665+ *671666 * Parses the list of registered drivers looking for a driver applicable for672667 * the specified device.673668 */