diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-11-27 17:02:10 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-23 14:43:49 +0000 |
commit | 2aa3b16a2b9489e9e98da5554c4babed9b6b224c (patch) | |
tree | ccc21727f2ec26981caf3f4bb64957ae3b340f83 /src/drivers/pc80/tpm/tis.c | |
parent | 1d191273304d658fcf5a832c163c4230b1575127 (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/pc80/tpm/tis.c')
-rw-r--r-- | src/drivers/pc80/tpm/tis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c index f7d9d6f152..d63dcbe94d 100644 --- a/src/drivers/pc80/tpm/tis.c +++ b/src/drivers/pc80/tpm/tis.c @@ -979,11 +979,11 @@ static const char *lpc_tpm_acpi_name(const struct device *dev) #endif static struct device_operations lpc_tpm_ops = { - .read_resources = &lpc_tpm_read_resources, - .set_resources = &lpc_tpm_set_resources, + .read_resources = lpc_tpm_read_resources, + .set_resources = lpc_tpm_set_resources, #if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) - .acpi_name = &lpc_tpm_acpi_name, - .acpi_fill_ssdt_generator = &lpc_tpm_fill_ssdt, + .acpi_name = lpc_tpm_acpi_name, + .acpi_fill_ssdt_generator = lpc_tpm_fill_ssdt, #endif }; |