memory: ti-emif-pm: Use device_get_match_data() to simplify the code
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 17 Nov 2022 11:39:32 +0000 (19:39 +0800)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 23 Jan 2023 10:48:31 +0000 (11:48 +0100)
commitbbaf6624f23d6e538401382be97ba3d4bcba963e
tree4f1c49c3a0c1e77ebc1ca15c842ad2bb0a3bafc4
parent27e5f98c30d73cdb8c8baeaf7d0af19af5266d3a
memory: ti-emif-pm: Use device_get_match_data() to simplify the code

Directly get the match data with device_get_match_data().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202211171939327684154@zte.com.cn
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/ti-emif-pm.c