summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/evged.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-07 15:09:37 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-09 14:09:28 +0200
commit57d2dd4bd18b1378b3bc0b6b2b8b858deb6c2fa7 (patch)
treef06b84d212363400bcfe02be8ee02e9173822404 /drivers/acpi/evged.c
parentdcb7fd82c75ee2d6e6f9d8cc71c52519ed52e258 (diff)
downloadlinux-stable-57d2dd4bd18b1378b3bc0b6b2b8b858deb6c2fa7.tar.gz
linux-stable-57d2dd4bd18b1378b3bc0b6b2b8b858deb6c2fa7.tar.bz2
linux-stable-57d2dd4bd18b1378b3bc0b6b2b8b858deb6c2fa7.zip
ACPI: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through # [1] Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/evged.c')
-rw-r--r--drivers/acpi/evged.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/evged.c b/drivers/acpi/evged.c
index ccd900690b6f..b1a7f8d6965e 100644
--- a/drivers/acpi/evged.c
+++ b/drivers/acpi/evged.c
@@ -106,7 +106,7 @@ static acpi_status acpi_ged_request_interrupt(struct acpi_resource *ares,
if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle)))
break;
- /* fall through */
+ fallthrough;
default:
if (ACPI_SUCCESS(acpi_get_handle(handle, "_EVT", &evt_handle)))
break;