scan.c (a9931a6e37c09f6b76a9fa0cbd777c335548692b) scan.c (bd7ce5b5ff930c29b1c0405051e9c9388660b785)
1/*
2 * scan.c - support for transforming the ACPI namespace into individual objects
3 */
4
5#include <linux/module.h>
6#include <linux/init.h>
7#include <linux/acpi.h>
8

--- 1096 unchanged lines hidden (view full) ---

1105 * Locate & Attach Driver
1106 * ----------------------
1107 * If there's a hardware id (_HID) or compatible ids (_CID) we check
1108 * to see if there's a driver installed for this kind of device. Note
1109 * that drivers can install before or after a device is enumerated.
1110 *
1111 * TBD: Assumes LDM provides driver hot-plug capability.
1112 */
1/*
2 * scan.c - support for transforming the ACPI namespace into individual objects
3 */
4
5#include <linux/module.h>
6#include <linux/init.h>
7#include <linux/acpi.h>
8

--- 1096 unchanged lines hidden (view full) ---

1105 * Locate & Attach Driver
1106 * ----------------------
1107 * If there's a hardware id (_HID) or compatible ids (_CID) we check
1108 * to see if there's a driver installed for this kind of device. Note
1109 * that drivers can install before or after a device is enumerated.
1110 *
1111 * TBD: Assumes LDM provides driver hot-plug capability.
1112 */
1113 result = acpi_bus_find_driver(device);
1113 acpi_bus_find_driver(device);
1114
1115 end:
1116 if (!result)
1117 *child = device;
1118 else {
1119 kfree(device->pnp.cid_list);
1120 kfree(device);
1121 }

--- 285 unchanged lines hidden ---
1114
1115 end:
1116 if (!result)
1117 *child = device;
1118 else {
1119 kfree(device->pnp.cid_list);
1120 kfree(device);
1121 }

--- 285 unchanged lines hidden ---