]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: cy8c95x0: Eliminate fragile use of I²C ID table
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Feb 2026 18:06:57 +0000 (19:06 +0100)
committerLinus Walleij <linusw@kernel.org>
Thu, 26 Feb 2026 22:42:40 +0000 (23:42 +0100)
commit04fcdb3a34d66a2848f5c7073f85071eeb1e5fae
tree7698e1e1b046dc06adcd58e13c6feb4b95af62d8
parenta603cf701f94f233032dd66bbc6e1b03d866550f
pinctrl: cy8c95x0: Eliminate fragile use of I²C ID table

The I²C ID table is a subject to new entries that may potentially
break the order of the existing ones. Avoid this by using string
literals for the chip naming. Note, linker will deduplicate same
string literals and use only a single copy, hence it won't be the
change in size in data section.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinctrl-cy8c95x0.c