mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
6c6bd2075f
Multiple Tegra drivers need to retrieve Memory Controller and there is duplication of the retrieval code among the drivers. Add new devm_tegra_memory_controller_get() helper to remove the code's duplication and to fix put_device() which was missed in the duplicated code. Make EMC drivers to use the new helper. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20201104164923.21238-29-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> |
||
---|---|---|
.. | ||
arc | ||
at91 | ||
bcm2835 | ||
brcmstb | ||
fsl | ||
imx | ||
mediatek | ||
mscc | ||
nps | ||
qcom | ||
rockchip | ||
sa1100 | ||
sifive | ||
tegra |