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
@ -205,8 +205,8 @@ static struct device_operations spi_acpi_ops = {
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.acpi_name = &spi_acpi_name,
|
||||
.acpi_fill_ssdt_generator = &spi_acpi_fill_ssdt_generator,
|
||||
.acpi_name = spi_acpi_name,
|
||||
.acpi_fill_ssdt_generator = spi_acpi_fill_ssdt_generator,
|
||||
};
|
||||
|
||||
static void spi_acpi_enable(struct device *dev)
|
||||
@ -216,5 +216,5 @@ static void spi_acpi_enable(struct device *dev)
|
||||
|
||||
struct chip_operations drivers_spi_acpi_ops = {
|
||||
CHIP_NAME("SPI Device")
|
||||
.enable_dev = &spi_acpi_enable
|
||||
.enable_dev = spi_acpi_enable
|
||||
};
|
||||
|
Reference in New Issue
Block a user