platform/x86: thinkpad_acpi: Fix inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 24 May 2021 06:23:58 +0000 (14:23 +0800)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Jun 2021 15:47:50 +0000 (17:47 +0200)
Eliminate the follow smatch warning:

drivers/platform/x86/thinkpad_acpi.c:7942 volume_write() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1621837438-70790-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c

index dd60c93..b7fec1b 100644 (file)
@@ -7938,7 +7938,7 @@ static int volume_write(char *buf)
                                continue;
                        } else if (sscanf(cmd, "level %u", &l) == 1 &&
                                   l >= 0 && l <= TP_EC_VOLUME_MAX) {
-                                       new_level = l;
+                               new_level = l;
                                continue;
                        }
                }