diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-11-27 12:23:48 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-23 14:42:59 +0000 |
commit | 1d191273304d658fcf5a832c163c4230b1575127 (patch) | |
tree | ac41fb818aa26a4d99e04d33584ac2845cbd762f /src/soc/intel/quark/uart.c | |
parent | b28d8b68bad4d8777b7e4131b127cd55bfb4357e (diff) |
soc/{amd,intel}: Remove needless '&' on function pointers
Change-Id: I7a59fd2f370d2b0d830ca83be9a9bc1abe2750f5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/29862
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Diffstat (limited to 'src/soc/intel/quark/uart.c')
-rw-r--r-- | src/soc/intel/quark/uart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/quark/uart.c b/src/soc/intel/quark/uart.c index 0d86284564..0037621941 100644 --- a/src/soc/intel/quark/uart.c +++ b/src/soc/intel/quark/uart.c @@ -36,9 +36,9 @@ static void uart_read_resources(struct device *dev) } static struct device_operations device_ops = { - .read_resources = &uart_read_resources, - .set_resources = &pci_dev_set_resources, - .enable_resources = &pci_dev_enable_resources, + .read_resources = uart_read_resources, + .set_resources = pci_dev_set_resources, + .enable_resources = pci_dev_enable_resources, }; static const struct pci_driver uart_driver __pci_driver = { |