From b0b0c8c60a6072d1b0707f9b9b87650570b35ea3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 8 Jul 2018 12:33:47 +0200 Subject: src/{device,drivers}: Use "foo *bar" instead of "foo* bar" Change-Id: Ic1c9b1edd8d3206a68854107ddcbc5c51cb487c3 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27404 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/pc80/tpm/tis.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/drivers/pc80/tpm') diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c index 3549173210..495bb4a143 100644 --- a/src/drivers/pc80/tpm/tis.c +++ b/src/drivers/pc80/tpm/tis.c @@ -109,13 +109,13 @@ */ struct device_name { u16 dev_id; - const char * const dev_name; + const char *const dev_name; }; struct vendor_name { u16 vendor_id; - const char * vendor_name; - const struct device_name* dev_names; + const char *vendor_name; + const struct device_name *dev_names; }; static const struct device_name atmel_devices[] = { @@ -443,7 +443,7 @@ static u32 tis_probe(void) * Returns 0 on success, TPM_DRIVER_ERR on error (in case the device does * not accept the entire command). */ -static u32 tis_senddata(const u8 * const data, u32 len) +static u32 tis_senddata(const u8 *const data, u32 len) { u32 offset = 0; u16 burst = 0; -- cgit v1.2.3