diff options
author | Thierry Reding <treding@nvidia.com> | 2019-01-25 11:22:52 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-01-25 16:18:23 +0100 |
commit | 589997a157df82fa04fec63ef4d01e73545fd415 (patch) | |
tree | 9010d62fb857a1ef387f00ca0759e3f4532ca810 /drivers/pci | |
parent | d32dde2c5a110f2d69add70d7a9f1c20d82d0ef1 (diff) | |
download | linux-589997a157df82fa04fec63ef4d01e73545fd415.tar.bz2 |
soc/tegra: pmc: Pass struct tegra_pmc * where possible
Instead of using the global pmc variable, pass around a pointer where
possible. Also, replace most occurrences of pr_*() functions by their
equivalent dev_*() functions, reusing the pmc->dev pointer.
It's not possible to get completely rid of the global variable because
some of the public API that this driver exposes still relies on it.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions