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:
Elyes HAOUAS
2018-11-27 17:02:10 +01:00
committed by Patrick Georgi
parent 1d19127330
commit 2aa3b16a2b
22 changed files with 62 additions and 62 deletions

View File

@@ -85,8 +85,8 @@ 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,
.acpi_name = i2c_sx9310_acpi_name,
.acpi_fill_ssdt_generator = i2c_sx9310_fill_ssdt,
};
static void i2c_sx9310_enable(struct device *dev)
@@ -106,5 +106,5 @@ static void i2c_sx9310_enable(struct device *dev)
struct chip_operations drivers_i2c_sx9310_ops = {
CHIP_NAME(I2C_SX9310_ACPI_NAME)
.enable_dev = &i2c_sx9310_enable
.enable_dev = i2c_sx9310_enable
};