From: Ashwin Chaugule Date: Wed, 26 Nov 2014 14:01:13 +0000 (+0800) Subject: ACPI / table: Add new function to get table entries X-Git-Tag: omap-for-v3.19/fixes-rc1~136^2~8^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f08bb472bff3c0397fb7d6f47bc5cec41dad76e3;p=pandora-kernel.git ACPI / table: Add new function to get table entries The acpi_table_parse() function has a callback that passes a pointer to a table_header. Add a new function which takes this pointer and parses its entries. This eliminates the need to re-traverse all the tables for each call. e.g. as in acpi_table_parse_madt() which is normally called after acpi_table_parse(). Acked-by: Grant Likely Signed-off-by: Ashwin Chaugule Signed-off-by: Tomasz Nowicki Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed