Re: [Update][PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Yasuaki Ishimatsu
2013/01/29 21:30, Rafael J. Wysocki wrote: On Tuesday, January 29, 2013 12:36:35 PM Rafael J. Wysocki wrote: On Tuesday, January 29, 2013 11:20:44 AM Yasuaki Ishimatsu wrote: Hi Rafael, 2013/01/28 22:01, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Currently, the ACPI namespace scanning

[Update][PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Rafael J. Wysocki
On Tuesday, January 29, 2013 12:36:35 PM Rafael J. Wysocki wrote: > On Tuesday, January 29, 2013 11:20:44 AM Yasuaki Ishimatsu wrote: > > Hi Rafael, > > > > 2013/01/28 22:01, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > Currently, the ACPI namespace scanning code creates pla

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Rafael J. Wysocki
On Tuesday, January 29, 2013 10:05:09 AM Mika Westerberg wrote: > On Mon, Jan 28, 2013 at 02:01:14PM +0100, Rafael J. Wysocki wrote: > > +/* Flags for acpi_create_platform_device */ > > +#define ACPI_PLATFORM_CLK BIT(0) > > + > > +/* > > + * The following ACPI IDs are known to be suitable for repr

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Rafael J. Wysocki
On Tuesday, January 29, 2013 09:35:32 AM Mika Westerberg wrote: > On Mon, Jan 28, 2013 at 02:01:14PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Currently, the ACPI namespace scanning code creates platform device > > objects for ACPI device nodes whose IDs match the conten

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Rafael J. Wysocki
On Tuesday, January 29, 2013 11:20:44 AM Yasuaki Ishimatsu wrote: > Hi Rafael, > > 2013/01/28 22:01, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Currently, the ACPI namespace scanning code creates platform device > > objects for ACPI device nodes whose IDs match the contents of t

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-29 Thread Mika Westerberg
On Mon, Jan 28, 2013 at 02:01:14PM +0100, Rafael J. Wysocki wrote: > +/* Flags for acpi_create_platform_device */ > +#define ACPI_PLATFORM_CLKBIT(0) > + > +/* > + * The following ACPI IDs are known to be suitable for representing as > + * platform devices. > + */ > +static const struct acpi_dev

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-28 Thread Mika Westerberg
On Mon, Jan 28, 2013 at 02:01:14PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Currently, the ACPI namespace scanning code creates platform device > objects for ACPI device nodes whose IDs match the contents of the > acpi_platform_device_ids[] table. However, this adds a superf

Re: [PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-28 Thread Yasuaki Ishimatsu
Hi Rafael, 2013/01/28 22:01, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Currently, the ACPI namespace scanning code creates platform device objects for ACPI device nodes whose IDs match the contents of the acpi_platform_device_ids[] table. However, this adds a superfluous special case i

[PATCH 4/4] ACPI / platform: Use struct acpi_scan_handler for creating devices

2013-01-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Currently, the ACPI namespace scanning code creates platform device objects for ACPI device nodes whose IDs match the contents of the acpi_platform_device_ids[] table. However, this adds a superfluous special case into acpi_bus_device_attach() and makes it more difficult