diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-15 07:23:53 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-15 07:23:53 -0500 |
commit | ae281795ec92d35dd1631401829124acab965b1f (patch) | |
tree | fbe1444521184eef3927aa0a8bb13e1da4356a9a /include/acpi | |
parent | b17b537ac1429a609addb55bf985f5ebfcf4ae7b (diff) |
ACPI / scan: Drop the second argument of acpi_bus_trim()
All callers of acpi_bus_trim() pass 1 (true) as the second argument
of it, so remove that argument entirely and change acpi_bus_trim()
to always behave as though it were 1.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index efe5f746c561..566f1fdabbd2 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -348,7 +348,7 @@ int acpi_bus_register_driver(struct acpi_driver *driver); | |||
348 | void acpi_bus_unregister_driver(struct acpi_driver *driver); | 348 | void acpi_bus_unregister_driver(struct acpi_driver *driver); |
349 | int acpi_bus_add(acpi_handle handle); | 349 | int acpi_bus_add(acpi_handle handle); |
350 | void acpi_bus_hot_remove_device(void *context); | 350 | void acpi_bus_hot_remove_device(void *context); |
351 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); | 351 | int acpi_bus_trim(struct acpi_device *start); |
352 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); | 352 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); |
353 | int acpi_match_device_ids(struct acpi_device *device, | 353 | int acpi_match_device_ids(struct acpi_device *device, |
354 | const struct acpi_device_id *ids); | 354 | const struct acpi_device_id *ids); |