summaryrefslogtreecommitdiff
path: root/src/drivers/lenovo/wacom.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-10 10:41:55 +0200
committerMartin L Roth <gaumless@gmail.com>2023-09-11 15:51:04 +0000
commit78d2469f057631096dbc50caae93511f9206232e (patch)
tree9c47e4550a584cebe840717237eeb416eb2f870f /src/drivers/lenovo/wacom.c
parent0d3a1fb93fe89aff927a7f724ef9463ad63f5648 (diff)
drivers: Remove space between function name and '('
Change-Id: I42e995952a72a23a5f3aeadf428ad13f25546854 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77772 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jan Samek <jan.samek@siemens.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/drivers/lenovo/wacom.c')
-rw-r--r--src/drivers/lenovo/wacom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/lenovo/wacom.c b/src/drivers/lenovo/wacom.c
index d3c4652e47..358c20f137 100644
--- a/src/drivers/lenovo/wacom.c
+++ b/src/drivers/lenovo/wacom.c
@@ -44,7 +44,7 @@ drivers_lenovo_is_wacom_present(void)
return (result = 0);
}
- superio = dev_find_slot_pnp (0x164e, 3);
+ superio = dev_find_slot_pnp(0x164e, 3);
if (!superio) {
printk(BIOS_INFO, "No Super I/O, skipping wacom\n");
return (result = 0);
@@ -60,9 +60,9 @@ drivers_lenovo_is_wacom_present(void)
pn = lenovo_mainboard_partnumber();
if (!pn)
return (result = 0);
- printk (BIOS_DEBUG, "Lenovo P/N is %s\n", pn);
- for (i = 0; i < ARRAY_SIZE (tablet_numbers); i++)
- if (memcmp (tablet_numbers[i], pn, 4) == 0) {
+ printk(BIOS_DEBUG, "Lenovo P/N is %s\n", pn);
+ for (i = 0; i < ARRAY_SIZE(tablet_numbers); i++)
+ if (memcmp(tablet_numbers[i], pn, 4) == 0) {
printk(BIOS_DEBUG, "Lenovo P/N %s is a tablet\n", pn);
return (result = 1);
}