From 2aa3b16a2b9489e9e98da5554c4babed9b6b224c Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 27 Nov 2018 17:02:10 +0100 Subject: src/drivers: Remove needless '&' on function pointers Change-Id: I7a99d0dcbc8ea1362a12a68fa519c49058d30a05 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/29868 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/generic/max98357a/max98357a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/generic/max98357a') diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c index f9b2d6cb55..8e5ea0c91e 100644 --- a/src/drivers/generic/max98357a/max98357a.c +++ b/src/drivers/generic/max98357a/max98357a.c @@ -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 }; -- cgit v1.2.3