soc/tegra: pmc: Use existing pclk reference
authorThierry Reding <treding@nvidia.com>
Tue, 4 Aug 2015 13:25:03 +0000 (15:25 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 14:49:58 +0000 (16:49 +0200)
commit592431b0369dc7a1f4a68f15ff0c48d94b66297f
tree5c5d874ffd2f531ee1f21aab7ed6371537e7de65
parent4a4466a6a418b96d6cb07ffb46cefa13df8f12ef
soc/tegra: pmc: Use existing pclk reference

The driver requests the pclk clock at probe time already and stores its
reference to it in struct tegra_pmc, so there is no need to look it up
everytime it is needed. Use the existing reference instead.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c