]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: yogabook: Clean up code style
authorBenjamin Philip <benjamin.philip495@gmail.com>
Thu, 1 Jan 2026 14:16:57 +0000 (19:46 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 6 Jan 2026 08:51:24 +0000 (10:51 +0200)
commit751e2ebf29a74c0e46144cbb35e5be478bcd7668
treebe92a985a32cf72fdc3bb29a0e95746adefdeb6f
parent1716c1e0860b42980f338b69b974149d035582ca
platform/x86: yogabook: Clean up code style

This commit cleans up the following checks flagged by checkpatch in
yogabook.c:

- CHECK: Prefer kernel type 'u8' over 'uint8_t'
- CHECK: Comparison to NULL could be written "!data"
- CHECK: line length of ... exceeds 100 columns

Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20260101141657.54258-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/yogabook.c