]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: ideadpad-laptop: Clean up style warnings and checks
authorBenjamin Philip <benjamin.philip495@gmail.com>
Tue, 6 Jan 2026 18:48:29 +0000 (00:18 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 21 Jan 2026 08:52:05 +0000 (10:52 +0200)
commit2ccbdb612d0d95f25c38189b83666ff0fb2bfb47
treed45e1370318c6052104e6381eef1cae48d835cd3
parent118222e20d16caf38264b850d7a386e5f063008c
platform/x86: ideadpad-laptop: Clean up style warnings and checks

This commit makes some style changes to clean up the following
checkpatch warnings and checks at various places in ideapad.c:

- WARNING: quoted string split across lines
- WARNING: space prohibited between function name and open parenthesis '('
- WARNING: braces {} are not necessary for any arm of this statement
- CHECK: Alignment should match open parenthesis

We exceed the 80 column limit to fix the quoted string warning since
strings in question are user visible. See coding style, part 2 for
details.

Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
Acked-by: Ike Panhc <ikepanhc@gmail.com>
Link: https://patch.msgid.link/20260106184830.34426-1-benjamin.philip495@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/ideapad-laptop.c