Revert "x86: acpi: Add function for querying GPE status"

This reverts commit 884dfe6329.
This commit is contained in:
Duncan Laurie 2016-09-19 19:20:24 -07:00
parent bf2c8c6a47
commit 1efcfcfff9
2 changed files with 0 additions and 8 deletions

View File

@ -1093,8 +1093,3 @@ void acpi_save_gnvs(u32 gnvs_address)
if (gnvs) if (gnvs)
*gnvs = gnvs_address; *gnvs = gnvs_address;
} }
__attribute__ ((weak)) int acpi_get_gpe(int gpe)
{
return -1; /* implemented by SOC */
}

View File

@ -677,9 +677,6 @@ static inline int acpi_sleep_from_pm1(uint32_t pm1_cnt)
/* Returns ACPI_Sx values. */ /* Returns ACPI_Sx values. */
int acpi_get_sleep_type(void); int acpi_get_sleep_type(void);
/* Read and clear GPE status */
int acpi_get_gpe(int gpe);
static inline int acpi_s3_resume_allowed(void) static inline int acpi_s3_resume_allowed(void)
{ {
return IS_ENABLED(CONFIG_HAVE_ACPI_RESUME); return IS_ENABLED(CONFIG_HAVE_ACPI_RESUME);