ACPICA: Tables: Cleanup table checksum verification code.
authorLv Zheng <lv.zheng@intel.com>
Mon, 23 Sep 2013 01:52:29 +0000 (09:52 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 23 Sep 2013 23:46:24 +0000 (01:46 +0200)
commit94d4be6773e86a0d52d7e200fb3cda2b9013c862
treef1c52b288ecac59b561eda72db3122f908436849
parent424deb3870580d9afbbb421edfbe30a02ef28056
ACPICA: Tables: Cleanup table checksum verification code.

This patch reduces code redundancy by moving the FACS/S3PT checksum
verification skip logic into acpi_tb_verify_checksum() and other
calls of this function also get benefit from this change.  Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/tbinstal.c
drivers/acpi/acpica/tbprint.c