platform/x86: asus-laptop: remove redundant braces in if statements
authorEdson Juliano Drosdeck <edson.drosdeck@gmail.com>
Mon, 16 Oct 2023 19:13:49 +0000 (16:13 -0300)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Dec 2023 11:27:25 +0000 (12:27 +0100)
commit3799b5d2323dffde5e2ba60b5bfbd8e6d4bea28e
tree45280dea7812655838dff359fc0c67273920236e
parent446dd8efa94ca80a8b91fbe907364001ed1b3d85
platform/x86: asus-laptop: remove redundant braces in if statements

Adhere to Linux kernel coding style.

Reported by checkpatch:

WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://lore.kernel.org/r/20231016191349.3856-1-edson.drosdeck@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-laptop.c