]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: int3472: Use correct type for "polarity", call it gpio_flags
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 11 Feb 2025 07:28:39 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:17 +0000 (12:54 -0700)
commit515b17dcd4cf711d12e6f1ed60bd7c1ce490cadf
tree5e94da1daf0da29d9f0d448cdc79dbf1b872bf11
parentf6ee81371e70901dfa4f01fcbff357fe2f1509e5
platform/x86: int3472: Use correct type for "polarity", call it gpio_flags

[ Upstream commit fc22b06fbd2afefa1eddff69a6fd30c539cef577 ]

Struct gpiod_lookup flags field's type is unsigned long. Thus use unsigned
long for values to be assigned to that field. Similarly, also call the
field gpio_flags which it really is.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250211072841.7713-2-sakari.ailus@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel/int3472/discrete.c