src/drivers: Remove needless '&' on function pointers
Change-Id: I7a99d0dcbc8ea1362a12a68fa519c49058d30a05 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29868 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
1d19127330
commit
2aa3b16a2b
@@ -77,8 +77,8 @@ static struct device_operations max98357a_ops = {
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.acpi_name = &max98357a_acpi_name,
|
||||
.acpi_fill_ssdt_generator = &max98357a_fill_ssdt,
|
||||
.acpi_name = max98357a_acpi_name,
|
||||
.acpi_fill_ssdt_generator = max98357a_fill_ssdt,
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -105,5 +105,5 @@ static void max98357a_enable(struct device *dev)
|
||||
|
||||
struct chip_operations drivers_generic_max98357a_ops = {
|
||||
CHIP_NAME("Maxim Integrated 98357A Amplifier")
|
||||
.enable_dev = &max98357a_enable
|
||||
.enable_dev = max98357a_enable
|
||||
};
|
||||
|
Reference in New Issue
Block a user