aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Li <[email protected]>2021-11-24 10:02:12 +0800
committerHans de Goede <[email protected]>2021-12-02 12:58:25 +0100
commit37f34df84ac76703536e5bec0b209f1e82a8a0cd (patch)
tree4c7b1741a229d7fba9f5063030b4675eae2823ad
parente1dbdd2f4a5247f579c930fe514de3cf0cc58e81 (diff)
platform/x86: asus-wmi: remove unneeded semicolon
Eliminate the following coccicheck warning: ./drivers/platform/x86/asus-wmi.c:2386:2-3: Unneeded semicolon Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r--drivers/platform/x86/asus-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index ab0c087d40cf..6fa4b0be8e76 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -2383,7 +2383,7 @@ static ssize_t fan_curve_enable_store(struct device *dev,
break;
default:
return -EINVAL;
- };
+ }
if (data->enabled) {
err = fan_curve_write(asus, data);