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/soc/samsung | |
parent | soc/tegra: pmc: Make tegra_powergate_is_powered() a local function (diff) | |
download | linux-dev-589997a157df82fa04fec63ef4d01e73545fd415.tar.xz linux-dev-589997a157df82fa04fec63ef4d01e73545fd415.zip |
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/soc/samsung')
0 files changed, 0 insertions, 0 deletions