]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/chrome: cros_ec_lightbar: provide ID table for avoiding fallback match
authorTzung-Bi Shih <tzungbi@kernel.org>
Fri, 29 Mar 2024 07:56:24 +0000 (15:56 +0800)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 24 Apr 2024 08:45:57 +0000 (16:45 +0800)
commit0524814b60c25f9c4a73b201257ed0270c9a1063
tree0da3d71722bcbc652d6603a7839b3134678b3702
parent82efd459b9f52af30e14bdf640e3961ac1156762
platform/chrome: cros_ec_lightbar: provide ID table for avoiding fallback match

Instead of using fallback driver name match, provide ID table[1] for the
primary match.

[1]: https://elixir.bootlin.com/linux/v6.8/source/drivers/base/platform.c#L1353

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20240329075630.2069474-13-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_lightbar.c