]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: int3472: Use GPIO_LOOKUP() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Aug 2024 13:05:40 +0000 (16:05 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 4 Sep 2024 13:04:01 +0000 (15:04 +0200)
commitd2b27d8eb8795736358706c3c5ab3b572f641d3a
tree48339b360f60794ca523c0c1cd1ea9c0479d9f7f
parent66cb96af8394e016df90f51c637b78b59e3429d7
platform/x86: int3472: Use GPIO_LOOKUP() macro

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

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240822130722.1261891-4-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/intel/int3472/discrete.c