platform/chrome: cros_kbd_led_backlight: provide ID table for avoiding fallback match
authorTzung-Bi Shih <tzungbi@kernel.org>
Fri, 29 Mar 2024 07:56:26 +0000 (15:56 +0800)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 24 Apr 2024 08:45:58 +0000 (16:45 +0800)
commit62bbe5556510e734215a880dad748192f962c150
treed0ba9b2ee7455df10c459c9f5c0553d00d8895bf
parent02b496aa01d9447c50f8d26b0af48f664f9908a6
platform/chrome: cros_kbd_led_backlight: provide ID table for avoiding fallback match

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

Also shrink the name for fitting to [2].

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

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