rtc: cros-ec: provide ID table for avoiding fallback match
authorTzung-Bi Shih <tzungbi@kernel.org>
Fri, 29 Mar 2024 07:56:15 +0000 (15:56 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 29 Mar 2024 14:46:08 +0000 (15:46 +0100)
commit61c86d14745ddda7fe9778862fa705da9c711429
tree39e9ef1a39966a76afdcda28435473c0d620e91b
parent4cece764965020c22cff7665b18a012006359095
rtc: cros-ec: 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

Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240329075630.2069474-4-tzungbi@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-cros-ec.c