sio/nuvoton/nct6791d: Fix fallthrough linter error
Apply the recommended change to correctly notate a switch fallthrough. Change-Id: If5f26f47dde641e6a5b687c4ab669efad438d8c4 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91099 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Alicja Michalska <ahplka19@gmail.com>
This commit is contained in:
parent
458b15b3f6
commit
855eb93547
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ static const char *nct6791d_acpi_hid(const struct device *dev)
|
|||
return NULL;
|
||||
|
||||
switch (dev->path.pnp.device & 0xff) {
|
||||
case NCT6791D_SP1: /* fallthrough */
|
||||
case NCT6791D_SP1:
|
||||
__fallthrough;
|
||||
case NCT6791D_SP2:
|
||||
return ACPI_HID_COM;
|
||||
case NCT6791D_KBC:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue