Trim .acpi_fill_ssdt_generator
and .acpi_inject_dsdt_generator
These two identifiers were always very confusing. We're not filling and injecting generators. We are filling SSDTs and injecting into the DSDT. So drop the `_generator` suffix. Hopefully, this also makes ACPI look a little less scary. Change-Id: I6f0e79632c9c855f38fe24c0186388a25990c44d Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39977 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: David Guckian Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Matt DeVillier
parent
35bff432e5
commit
68680dd7cd
@@ -108,12 +108,12 @@ static const char *da7219_acpi_name(const struct device *dev)
|
||||
#endif
|
||||
|
||||
static struct device_operations da7219_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = da7219_acpi_name,
|
||||
.acpi_fill_ssdt_generator = da7219_fill_ssdt,
|
||||
.acpi_name = da7219_acpi_name,
|
||||
.acpi_fill_ssdt = da7219_fill_ssdt,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@@ -190,12 +190,12 @@ static const char *i2c_generic_acpi_name(const struct device *dev)
|
||||
#endif
|
||||
|
||||
static struct device_operations i2c_generic_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = i2c_generic_acpi_name,
|
||||
.acpi_fill_ssdt_generator = i2c_generic_fill_ssdt_generator,
|
||||
.acpi_name = i2c_generic_acpi_name,
|
||||
.acpi_fill_ssdt = i2c_generic_fill_ssdt_generator,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@@ -47,12 +47,12 @@ static const char *i2c_hid_acpi_name(const struct device *dev)
|
||||
#endif
|
||||
|
||||
static struct device_operations i2c_hid_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = i2c_hid_acpi_name,
|
||||
.acpi_fill_ssdt_generator = i2c_hid_fill_ssdt_generator,
|
||||
.acpi_name = i2c_hid_acpi_name,
|
||||
.acpi_fill_ssdt = i2c_hid_fill_ssdt_generator,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@@ -85,11 +85,11 @@ static const char *max98373_acpi_name(const struct device *dev)
|
||||
}
|
||||
|
||||
static struct device_operations max98373_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = max98373_acpi_name,
|
||||
.acpi_fill_ssdt_generator = max98373_fill_ssdt,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = max98373_acpi_name,
|
||||
.acpi_fill_ssdt = max98373_fill_ssdt,
|
||||
};
|
||||
|
||||
static void max98373_enable(struct device *dev)
|
||||
|
@@ -81,11 +81,11 @@ static const char *max98927_acpi_name(const struct device *dev)
|
||||
}
|
||||
|
||||
static struct device_operations max98927_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = max98927_acpi_name,
|
||||
.acpi_fill_ssdt_generator = max98927_fill_ssdt,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = max98927_acpi_name,
|
||||
.acpi_fill_ssdt = max98927_fill_ssdt,
|
||||
};
|
||||
|
||||
static void max98927_enable(struct device *dev)
|
||||
|
@@ -96,12 +96,12 @@ static const char *nau8825_acpi_name(const struct device *dev)
|
||||
#endif
|
||||
|
||||
static struct device_operations nau8825_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = nau8825_acpi_name,
|
||||
.acpi_fill_ssdt_generator = nau8825_fill_ssdt,
|
||||
.acpi_name = nau8825_acpi_name,
|
||||
.acpi_fill_ssdt = nau8825_fill_ssdt,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@@ -99,7 +99,7 @@ static struct device_operations rt1011_ops = {
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = rt1011_acpi_name,
|
||||
.acpi_fill_ssdt_generator = rt1011_fill_ssdt,
|
||||
.acpi_fill_ssdt = rt1011_fill_ssdt,
|
||||
};
|
||||
|
||||
static void rt1011_enable(struct device *dev)
|
||||
|
@@ -85,11 +85,11 @@ static const char *rt5663_acpi_name(const struct device *dev)
|
||||
}
|
||||
|
||||
static struct device_operations rt5663_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = rt5663_acpi_name,
|
||||
.acpi_fill_ssdt_generator = rt5663_fill_ssdt,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = rt5663_acpi_name,
|
||||
.acpi_fill_ssdt = rt5663_fill_ssdt,
|
||||
};
|
||||
|
||||
static void rt5663_enable(struct device *dev)
|
||||
|
@@ -89,11 +89,11 @@ static const char *i2c_sx9310_acpi_name(const struct device *dev)
|
||||
}
|
||||
|
||||
static struct device_operations i2c_sx9310_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = i2c_sx9310_acpi_name,
|
||||
.acpi_fill_ssdt_generator = i2c_sx9310_fill_ssdt,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = i2c_sx9310_acpi_name,
|
||||
.acpi_fill_ssdt = i2c_sx9310_fill_ssdt,
|
||||
};
|
||||
|
||||
static void i2c_sx9310_enable(struct device *dev)
|
||||
|
@@ -72,11 +72,11 @@ static const char *i2c_tpm_acpi_name(const struct device *dev)
|
||||
}
|
||||
|
||||
static struct device_operations i2c_tpm_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = i2c_tpm_acpi_name,
|
||||
.acpi_fill_ssdt_generator = i2c_tpm_fill_ssdt,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = i2c_tpm_acpi_name,
|
||||
.acpi_fill_ssdt = i2c_tpm_fill_ssdt,
|
||||
};
|
||||
|
||||
static void i2c_tpm_enable(struct device *dev)
|
||||
|
Reference in New Issue
Block a user