summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-05-02 20:29:47 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-07 20:19:37 +0300
commit18937875a231d831c309716d6d8fc358f8381881 (patch)
treeff45db025e7738e52340eb13803af8e7deb2c6b7 /drivers/iio
parent409f3aed82d37b6e69645f3ba1ccb9abe91a5d57 (diff)
platform/x86: intel-vbtn: Use acpi_evaluate_integer()
Use acpi_evaluate_integer() instead of open-coding it. This is a preparation patch for adding a intel_vbtn_has_switches() helper function. Fixes: de9647efeaa9 ("platform/x86: intel-vbtn: Only activate tablet mode switch on 2-in-1's") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions