Re: [PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-12 Thread Tang Chen
On 10/12/2012 06:10 PM, Yasuaki Ishimatsu wrote: > Hi Tang, > > 2012/10/12 15:55, Tang Chen wrote: >> "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array >> container_device_ids[], so use it, but not the hard coding style. > > The idea is good. > >> >> Signed-off-by: Tang Chen >> --- >>

Re: [PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-12 Thread Yasuaki Ishimatsu
Hi Tang, 2012/10/12 15:55, Tang Chen wrote: > "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array > container_device_ids[], so use it, but not the hard coding style. The idea is good. > > Signed-off-by: Tang Chen > --- > drivers/acpi/container.c | 10 +++--- > 1 files changed,

[PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-11 Thread Tang Chen
"ACPI0004","PNP0A05" and "PNP0A06" are all defined in array container_device_ids[], so use it, but not the hard coding style. Signed-off-by: Tang Chen --- drivers/acpi/container.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/container.c b/drivers