]> www.infradead.org Git - users/willy/pagecache.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)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 11 Feb 2025 17:14:57 +0000 (19:14 +0200)
commitfc22b06fbd2afefa1eddff69a6fd30c539cef577
tree142615696caa01e4111c33f884df365d1140a25f
parent9cff907cbf8c7fb5345918dbcc7b74a01656f34f
platform/x86: int3472: Use correct type for "polarity", call it gpio_flags

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>
drivers/platform/x86/intel/int3472/discrete.c