ACPI: sparse fix, replace macro with static function
commit4fd7f5188c377c1e9aa8f224f6edf96d170a7d32
authorHarvey Harrison <harvey.harrison@gmail.com>
Sat, 16 Feb 2008 01:07:19 +0000 (15 17:07 -0800)
committerLen Brown <len.brown@intel.com>
Sat, 16 Feb 2008 05:40:28 +0000 (16 00:40 -0500)
tree9023a131246f56974bafed5260a6baaa6d918219
parent5958f1a4da39581074bab50cabd0a582e651b90f
ACPI: sparse fix, replace macro with static function

replace acpi_util_eval_error macro with static function.

Avoid these sparse warnings due to using buffer within the macro.
drivers/acpi/utils.c:273:3: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:259:21: originally declared here
drivers/acpi/utils.c:279:3: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:259:21: originally declared here
drivers/acpi/utils.c:368:3: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:348:21: originally declared here
drivers/acpi/utils.c:375:3: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:348:21: originally declared here
drivers/acpi/utils.c:382:3: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:348:21: originally declared here
drivers/acpi/utils.c:402:4: warning: symbol 'buffer' shadows an earlier one
drivers/acpi/utils.c:348:21: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utils.c