platform/x86: int3472: Add new skl_int3472_fill_gpiod_lookup() helper
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Oct 2023 16:23:13 +0000 (18:23 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 6 Oct 2023 10:34:51 +0000 (13:34 +0300)
commit23516fba866c49397594832d407459f30fe3ed60
tree37b3a5eb79ecb20727620b41f2206a8d03244d29
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
platform/x86: int3472: Add new skl_int3472_fill_gpiod_lookup() helper

Add a new skl_int3472_fill_gpiod_lookup() helper.

This is a preparation patch for removing usage of the deprecated
gpiod_toggle_active_low() and acpi_get_and_request_gpiod() functions.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20231004162317.163488-2-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/int3472/discrete.c