]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: android-tablets: Use GPIO_LOOKUP() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Apr 2024 15:37:49 +0000 (18:37 +0300)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 Apr 2024 13:44:51 +0000 (15:44 +0200)
commitc1ca23111a6a4c323234a1a1632cda1890a540a4
tree60930550ffb52aa5cc748f272d6c970529b0e666
parent3eee73ad42c3899d97e073bf2c41e7670a3c575c
platform/x86: android-tablets: Use GPIO_LOOKUP() macro

Use GPIO_LOOKUP() macro which provides a compound literal
and can be used with dynamic data.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240408153749.119394-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/x86-android-tablets/core.c