ACPICA: Consolidate method arg count validation code
authorBob Moore <robert.moore@intel.com>
Thu, 13 Nov 2008 03:19:24 +0000 (11:19 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 30 Dec 2008 03:38:39 +0000 (22:38 -0500)
commiteeb4437e63c39ce19cf9b2de36a1dddbf12910c4
treef8a03de090080a3a781a927ca13253774aebdfe7
parenta647b5c34047560d7efe7e53e756c6692ce67dc7
ACPICA: Consolidate method arg count validation code

Merge the code that validates control method argument counts into
the predefined validation module. Eliminates possible multiple
warnings for incorrect counts.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/namespace/nseval.c
drivers/acpi/namespace/nspredef.c
include/acpi/acnamesp.h