diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-11-17 14:02:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-07 13:11:42 +0300 |
commit | c234ccc68afec76b83ee519c91713f27d7550d24 (patch) | |
tree | 1e456b2a0e5ec111af04045709a3cff69c314941 /net/tipc/crypto.h | |
parent | 8af3d02aae3ecc23ee84d7078d1ebb3df7557dda (diff) | |
download | linux-c234ccc68afec76b83ee519c91713f27d7550d24.tar.xz |
platform/x86: ideapad-laptop: Refactor ideapad_sync_touchpad_state()
[ Upstream commit 289a59895e7a380cdc7fe2780d3073f4b9237020 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/crypto.h')
0 files changed, 0 insertions, 0 deletions