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)
commit3c3b55564afa8b7d952ce2ba90e7f522832ed0f7
treecd12c27cfd7ab080438ebef8ae2e00ddac368f51
parentebc443ad379fad80b8fc350f35cc0652b8447995
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