ACPICA: Add macros to extract flag bits from resource descriptors.
authorBob Moore <robert.moore@intel.com>
Wed, 19 Dec 2012 05:38:18 +0000 (05:38 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:19 +0000 (12:36 +0100)
commit2f3faaba5922d3763f3e9398a2b00dc7239e2d27
tree5b39a3fe111590f0820504a5a2f9192d7f7aa40d
parent1f06c92110b4512beffc98656286fdc60ed00a85
ACPICA: Add macros to extract flag bits from resource descriptors.

Improves readability and maintainability of the code.  Fixes a
problem with the UART serial bus descriptor for the number of
data bits flags (was incorrectly 2 bits, should be 3).

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acmacros.h