From: Tang Chen Date: Fri, 26 Oct 2012 11:38:16 +0000 (+0200) Subject: ACPI: Fix a hard coding style when determining if a device is a container, v3 X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~13^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594df89a59cf2a2afc22fe27f508dd864d1edb5f;p=pandora-kernel.git ACPI: Fix a hard coding style when determining if a device is a container, v3 "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array container_device_ids[], so use it, but not the hard coding style. Also, introduce a new API is_container_device() to determine if a device is a container device. Signed-off-by: Tang Chen Signed-off-by: Yasuaki Ishimatsu Reviewed-by: Bjorn Helgaas Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed