aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel
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/intel
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/intel')
-rw-r--r--src/drivers/intel/mipi_camera/camera.c6
-rw-r--r--src/drivers/intel/wifi/wifi.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/drivers/intel/mipi_camera/camera.c b/src/drivers/intel/mipi_camera/camera.c
index cdb9da300b..0cea0ba311 100644
--- a/src/drivers/intel/mipi_camera/camera.c
+++ b/src/drivers/intel/mipi_camera/camera.c
@@ -84,8 +84,8 @@ static struct device_operations camera_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
- .acpi_name = &camera_acpi_name,
- .acpi_fill_ssdt_generator = &camera_fill_ssdt,
+ .acpi_name = camera_acpi_name,
+ .acpi_fill_ssdt_generator = camera_fill_ssdt,
};
static void camera_enable(struct device *dev)
@@ -95,5 +95,5 @@ static void camera_enable(struct device *dev)
struct chip_operations drivers_intel_mipi_camera_ops = {
CHIP_NAME("Intel MIPI Camera Device")
- .enable_dev = &camera_enable
+ .enable_dev = camera_enable
};
diff --git a/src/drivers/intel/wifi/wifi.c b/src/drivers/intel/wifi/wifi.c
index 01a338d1d5..cd512ea3bb 100644
--- a/src/drivers/intel/wifi/wifi.c
+++ b/src/drivers/intel/wifi/wifi.c
@@ -306,8 +306,8 @@ struct device_operations device_ops = {
#endif
.ops_pci = &pci_ops,
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
- .acpi_name = &intel_wifi_acpi_name,
- .acpi_fill_ssdt_generator = &intel_wifi_fill_ssdt,
+ .acpi_name = intel_wifi_acpi_name,
+ .acpi_fill_ssdt_generator = intel_wifi_fill_ssdt,
#endif
};
@@ -366,5 +366,5 @@ static void intel_wifi_enable(struct device *dev)
struct chip_operations drivers_intel_wifi_ops = {
CHIP_NAME("Intel WiFi")
- .enable_dev = &intel_wifi_enable
+ .enable_dev = intel_wifi_enable
};