mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 01:52:03 +02:00
Each int3472_gpio_map entry currently maps exactly one ACPI HID to a GPIO quirk. As more sensors needing the same quirk are identified, this means adding a full duplicate table entry per HID, differing only in the HID string, which does not scale. Change int3472_gpio_map::hid to a NULL-terminated hids array so a single entry can match any number of ACPI HIDs, letting new HIDs be added to the relevant array instead of duplicating quirk entries. Cc: linux-media@vger.kernel.org Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io> Tested-by: Kate Hsuan <hpa@redhat.com> Reviewed-by: Kate Hsuan <hpa@redhat.com> Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> |
||
|---|---|---|
| .. | ||
| clk_and_regulator.c | ||
| common.c | ||
| discrete_quirks.c | ||
| discrete.c | ||
| Kconfig | ||
| led.c | ||
| Makefile | ||
| tps68470_board_data.c | ||
| tps68470.c | ||
| tps68470.h | ||