From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH V7 10/11] ACPI: use platform bus as the default bus for _HID enumeration Date: Mon, 26 May 2014 13:21:45 +0300 Message-ID: <20140526102145.GB1765@lahna.fi.intel.com> References: <1400781753-2682-1-git-send-email-rui.zhang@intel.com> <1400781753-2682-11-git-send-email-rui.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga11.intel.com ([192.55.52.93]:59514 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbaEZKVt (ORCPT ); Mon, 26 May 2014 06:21:49 -0400 Content-Disposition: inline In-Reply-To: <1400781753-2682-11-git-send-email-rui.zhang@intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Zhang Rui Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, matthew.garrett@nebula.com, rafael.j.wysocki@intel.com, dmitry.torokhov@gmail.com, Heikki Krogerus On Fri, May 23, 2014 at 02:02:32AM +0800, Zhang Rui wrote: > Because of the growing demand for enumerating ACPI devices to > platform bus, this patch changes the code to enumerate ACPI > devices to platform bus by default, if the device > 1. has _HID. > 2. does not have a scan handler attached. > 3. is not SPB slave device, which should be enumerated by its parent. > > Signed-off-by: Zhang Rui > --- > drivers/acpi/acpi_platform.c | 28 ---------------------------- > drivers/acpi/scan.c | 43 ++++++++++++++++++++++++++++++++++++++++++- > 2 files changed, 42 insertions(+), 29 deletions(-) > > diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c > index dbfe49e..33376a9 100644 > --- a/drivers/acpi/acpi_platform.c > +++ b/drivers/acpi/acpi_platform.c > @@ -22,24 +22,6 @@ > > ACPI_MODULE_NAME("platform"); > > -/* > - * The following ACPI IDs are known to be suitable for representing as > - * platform devices. > - */ > -static const struct acpi_device_id acpi_platform_device_ids[] = { > - > - { "PNP0D40" }, > - { "ACPI0003" }, > - { "VPC2004" }, > - { "BCM4752" }, You can't remove this one as it is bluetooth connected to HS-UART and thus has UARTSerialBus() connector. > - > - /* Intel Smart Sound Technology */ > - { "INT33C8" }, > - { "80860F28" }, > - > - { } > -};