diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-02-04 00:56:10 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-04 12:21:14 +0300 |
commit | 1c59de4ad24b6024b5d5b78d25486848f2d96c5d (patch) | |
tree | 9eb5c3ad826656812a8d62e9610549eae5178daa /crypto | |
parent | ff36b0d953dc4cbc40a72945920ff8e805f1b0da (diff) | |
download | linux-1c59de4ad24b6024b5d5b78d25486848f2d96c5d.tar.xz |
platform/x86: ideapad-laptop: rework is_visible() logic
Store the supported features in the driver private
data, and modify the is_visible() callback to use it,
and create ideapad_check_features() to populate it.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-19-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions