/* acpiphp_bus_trim - trim a bus from acpi subsystem @handle: handle to acpi namespace  */
static int acpiphp_bus_trim(acpi_handle handle)
/* acpiphp_bus_trim - trim a bus from acpi subsystem @handle: handle to acpi namespace  */
static int acpiphp_bus_trim(acpi_handle handle)
{
	struct acpi_device *device;
	int retval;
	retval = acpi_bus_get_device(handle, &device);
	if (retval) {
		dbg("acpi_device not found\n");
		return retval;
	}
	retval = acpi_bus_trim(device, 1);
	if (retval)
		err("cannot remove from acpi list\n");
	return retval;
}