ACPICA: Remove wakeup GPE reference counting which is not used
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 1 Jul 2010 02:11:45 +0000 (10:11 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:34:26 +0000 (22:34 -0400)
commita44061aa8b5d58b2729faca4c155a94a5bea2a09
tree3f4e72439ad65c443c0151961883ea0a6e14d20d
parente8b6f970107cfc9c00cdcdb12ec6c7e135cf379f
ACPICA: Remove wakeup GPE reference counting which is not used

After the previous patch that introduced acpi_gpe_wakeup() and
modified the ACPI suspend and wakeup code to use it, the third
argument of acpi_{enable|disable}_gpe() and the GPE wakeup
reference counter are not necessary any more.  Remove them and
modify all of the users of acpi_{enable|disable}_gpe()
accordingly.  Also drop GPE type constants that aren't used
any more.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
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>
12 files changed:
drivers/acpi/acpica/acevents.h
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evgpeblk.c
drivers/acpi/acpica/evgpeinit.c
drivers/acpi/acpica/evxfevnt.c
drivers/acpi/button.c
drivers/acpi/ec.c
drivers/acpi/system.c
drivers/pci/pci-acpi.c
include/acpi/acpixf.h
include/acpi/actypes.h