]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: int3472: Drop unused gpio field from struct int3472_gpio_regulator
authorHans de Goede <hdegoede@redhat.com>
Thu, 17 Apr 2025 11:13:31 +0000 (13:13 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 24 Apr 2025 13:05:33 +0000 (16:05 +0300)
commitb6d3d739b72ae1913d18d62126aee6039e2a42b1
tree08cc15a897ce40132cfea9ee1eaf558c6e8314ee
parentea890cdd41fe34836475eec801a1735c6f9ebcd0
platform/x86: int3472: Drop unused gpio field from struct int3472_gpio_regulator

The gpio field in struct int3472_gpio_regulator is only briefly used to
store the GPIO in skl_int3472_register_regulator(). Instead just store
the GPIO directly into cfg.ena_gpiod an drop the gpio field.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: David Heidelberg <david@ixit.cz> # Dell Latitude 9440
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20250417111337.38142-4-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/clk_and_regulator.c
drivers/platform/x86/intel/int3472/common.h