diff options
| author | Thierry Reding <[email protected]> | 2019-01-25 11:22:52 +0100 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2019-01-25 16:18:23 +0100 |
| commit | 589997a157df82fa04fec63ef4d01e73545fd415 (patch) | |
| tree | 9010d62fb857a1ef387f00ca0759e3f4532ca810 /lib/mpi/mpi-internal.h | |
| parent | d32dde2c5a110f2d69add70d7a9f1c20d82d0ef1 (diff) | |
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 <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions