drivers/intel/touch: Use recommended short multi-line comment style
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 <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88491 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
451988d015
commit
19d7104d85
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue