]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-wmi: Simplify some of the *_check_present() helpers
authorHans de Goede <hdegoede@redhat.com>
Mon, 15 Aug 2022 15:05:38 +0000 (17:05 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 25 Aug 2022 14:23:53 +0000 (16:23 +0200)
commitfea4c881c7b01924bd292081e6f6698ab9ea31e1
treecd12c27cfd7ab080438ebef8ae2e00ddac368f51
parente77cc335fe63c7e99ad3ab08db735a6ef2526026
platform/x86: asus-wmi: Simplify some of the *_check_present() helpers

After the recent cleanup patches, some of the *_check_present() helpers
just propagate the result of asus_wmi_dev_is_present().

Replace these with direct asus_wmi_dev_is_present() calls as a further
cleanup.

Cc: Luke D. Jones <luke@ljones.dev>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220815150538.474306-1-hdegoede@redhat.com
drivers/platform/x86/asus-wmi.c