diff options
author | 2020-11-04 19:49:04 +0300 | |
---|---|---|
committer | 2020-11-26 18:50:29 +0100 | |
commit | 6c6bd2075f01f8c8ae4bc803ba5cd23a3d3db533 (patch) | |
tree | 0d84c1b81d5a71b5a6d4847df251477be329aeec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'tegra-soc-clk-drivers-5.11' into for-v5.11/tegra-mc (diff) | |
download | wireguard-linux-6c6bd2075f01f8c8ae4bc803ba5cd23a3d3db533.tar.xz wireguard-linux-6c6bd2075f01f8c8ae4bc803ba5cd23a3d3db533.zip |
memory: tegra: Add and use devm_tegra_memory_controller_get()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions