Re: [PATCH V4 07/11] ACPI: use platform bus as the default bus for _HID enumeration
From: Zhang Rui
Date: Mon Mar 24 2014 - 00:07:37 EST
On Mon, 2014-03-24 at 03:00 +0100, Rafael J. Wysocki wrote:
> On Monday, March 17, 2014 03:49:36 PM Zhang Rui wrote:
> > Because of the growing demand for enumerating ACPI devices to platform bus,
> > this patch changes the code to enumerate ACPI devices with _HID to
> > platform bus by default, unless the device already has a scan handler attached.
>
> I think we need to be more careful here still.
>
> For example, we shouldn't create platform devices for ACPI device objects that
> correspond to I2C devices (or any other "simple peripheral bus" devices for that
> matter).
>
agreed. Then how about the patch below?
Note that I've just finished with build test.
thanks,
rui