From 19d7104d8545c2b5065e82a801b5c4f9887503b2 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 18 Jul 2025 18:30:43 +0200 Subject: [PATCH] drivers/intel/touch: Use recommended short multi-line comment style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current style is not part of the coding style [1]. The comment has five lines, so it’s unclear if the short or long multi-line comment style should be used. Use the short one, to keep it concise. [1]: Documentation/contributing/coding_style.md Change-Id: I500340fd02a54c69db4ca5d753fcb690fae1c520 Signed-off-by: Paul Menzel Reviewed-on: https://review.coreboot.org/c/coreboot/+/88491 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/drivers/intel/touch/touch.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/drivers/intel/touch/touch.c b/src/drivers/intel/touch/touch.c index 5ad4518a2a..d0723d5dce 100644 --- a/src/drivers/intel/touch/touch.c +++ b/src/drivers/intel/touch/touch.c @@ -510,11 +510,10 @@ static void touch_dev_fill_ssdt_generator(const struct device *dev) touch_generate_acpi_ini(dev); touch_generate_acpi_dsm(config, dev); /* When only THC1 is used, both THC0/1 need to be enabled since THC0's - * device function is '0'. In this case, THC0 should set - * connected_device to TH_SENSOR_NONE so that when the driver detects - * THC0, the _DSM will be available for it to check and exit without - * error. - */ + device function is '0'. In this case, THC0 should set + connected_device to TH_SENSOR_NONE so that when the driver detects + THC0, the _DSM will be available for it to check and exit without + error. */ if (config->connected_device == TH_SENSOR_NONE) return;