On Thu, 25 Apr 2024 09:56:28 +0200, Marek Szyprowski wrote: > device_get_match_data() function should not be used on the device other > than the one matched to the given driver, because it always returns the > match_data of the matched driver. In case of exynos-clkout driver, the > original code matches the OF IDs on the PARENT device, so replacing it > with of_device_get_match_data() broke the driver. > > This has been already pointed once in commit 2bc5febd05ab ("clk: samsung: > Revert "clk: samsung: exynos-clkout: Use of_device_get_match_data()""). > To avoid further confusion, add a comment about this special case, which > requires direct of_match_device() call to pass custom IDs array. > > [...] Applied, thanks! [1/1] clk: samsung: Revert "clk: Use device_get_match_data()" https://git.kernel.org/krzk/linux/c/da244c16ac58a3b1b7d8c54ec7780fd8326da2ff Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>