summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/generic
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-27 17:02:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-23 14:43:49 +0000
commit2aa3b16a2b9489e9e98da5554c4babed9b6b224c (patch)
treeccc21727f2ec26981caf3f4bb64957ae3b340f83 /src/drivers/i2c/generic
parent1d191273304d658fcf5a832c163c4230b1575127 (diff)
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>
Diffstat (limited to 'src/drivers/i2c/generic')
-rw-r--r--src/drivers/i2c/generic/generic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index df929b779c..ca2dfafdc5 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -193,8 +193,8 @@ static struct device_operations i2c_generic_ops = {
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
#if IS_ENABLED(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_generator = i2c_generic_fill_ssdt_generator,
#endif
};
@@ -228,5 +228,5 @@ static void i2c_generic_enable(struct device *dev)
struct chip_operations drivers_i2c_generic_ops = {
CHIP_NAME("I2C Device")
- .enable_dev = &i2c_generic_enable
+ .enable_dev = i2c_generic_enable
};