diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-11-17 12:02:39 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-11-21 11:11:50 +0100 |
commit | 289a59895e7a380cdc7fe2780d3073f4b9237020 (patch) | |
tree | 2fc6b315e8c404b2358c4f693f7707ba9f5e2e56 /tools/rcu | |
parent | tools/arch/x86: intel_sdsi: Add support for reading meter certificates (diff) | |
download | linux-289a59895e7a380cdc7fe2780d3073f4b9237020.tar.xz linux-289a59895e7a380cdc7fe2780d3073f4b9237020.zip |
platform/x86: ideapad-laptop: Refactor ideapad_sync_touchpad_state()
Add an error exit for read_ec_data() failing instead of putting the main
body in an if (success) block.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Link: https://lore.kernel.org/r/20221117110244.67811-2-hdegoede@redhat.com
Diffstat (limited to 'tools/rcu')
0 files changed, 0 insertions, 0 deletions