summaryrefslogtreecommitdiff
path: root/src/drivers/usb
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/usb
parent1d191273304d658fcf5a832c163c4230b1575127 (diff)
downloadcoreboot-2aa3b16a2b9489e9e98da5554c4babed9b6b224c.tar.xz
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/usb')
-rw-r--r--src/drivers/usb/acpi/usb_acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/usb/acpi/usb_acpi.c b/src/drivers/usb/acpi/usb_acpi.c
index abc1718eb9..8c63d2aa6c 100644
--- a/src/drivers/usb/acpi/usb_acpi.c
+++ b/src/drivers/usb/acpi/usb_acpi.c
@@ -86,8 +86,8 @@ static struct device_operations usb_acpi_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
- .scan_bus = &scan_usb_bus,
- .acpi_fill_ssdt_generator = &usb_acpi_fill_ssdt_generator,
+ .scan_bus = scan_usb_bus,
+ .acpi_fill_ssdt_generator = usb_acpi_fill_ssdt_generator,
};
static void usb_acpi_enable(struct device *dev)
@@ -97,5 +97,5 @@ static void usb_acpi_enable(struct device *dev)
struct chip_operations drivers_usb_acpi_ops = {
CHIP_NAME("USB ACPI Device")
- .enable_dev = &usb_acpi_enable
+ .enable_dev = usb_acpi_enable
};