ACPI: tables: Simplify PPTT leaf node detection
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 1 Mar 2019 18:52:21 +0000 (12:52 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2019 11:14:57 +0000 (12:14 +0100)
commit4909e6df213a7c3e5e282538356f31ab68828793
tree405cd897a0d69083e6ca87b9a968238354602b9b
parentd276709ce6c90b9eceecdbd01a0c083ab04d3a52
ACPI: tables: Simplify PPTT leaf node detection

ACPI 6.3 bumps the PPTT table revision and adds a LEAF_NODE flag.

This allows us to avoid a second pass through the table to assure
that the node in question is a leaf.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pptt.c