memory: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:44:01 +0000 (17:44 -0500)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 12 Oct 2023 13:42:16 +0000 (15:42 +0200)
commit09de3691daab15ae125cbf32f9f72fc90eada49d
treeeb94bbf2004c7db59ed5ecaa44abfb5e76f8c71e
parent9def28f3b8634e4f1fa92a77ccb65fbd2d03af34
memory: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20231006224402.442078-1-robh@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/atmel-ebi.c
drivers/memory/brcmstb_memc.c
drivers/memory/fsl-corenet-cf.c