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/i2c/rt5663/rt5663.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/i2c/rt5663') diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c index 38b2a9853a..1ce5993dad 100644 --- a/src/drivers/i2c/rt5663/rt5663.c +++ b/src/drivers/i2c/rt5663/rt5663.c @@ -91,8 +91,8 @@ 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, + .acpi_name = rt5663_acpi_name, + .acpi_fill_ssdt_generator = rt5663_fill_ssdt, }; static void rt5663_enable(struct device *dev) @@ -102,5 +102,5 @@ static void rt5663_enable(struct device *dev) struct chip_operations drivers_i2c_rt5663_ops = { CHIP_NAME("Realtek RT5663 Codec") - .enable_dev = &rt5663_enable + .enable_dev = rt5663_enable }; -- cgit v1.2.3