soc/tegra: pmc: Clean-up I/O rail error messages
authorThierry Reding <treding@nvidia.com>
Tue, 8 Nov 2016 09:58:32 +0000 (10:58 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 15 Nov 2016 14:51:53 +0000 (15:51 +0100)
commit54e247211f6ba24f8fc0cbbd801d4d58e9b161ea
treefaf5bbb17d479f44b527a4d96da9a118deed6734
parent27b12b4e58525f7e8a612af5a3999126d0ea76fb
soc/tegra: pmc: Clean-up I/O rail error messages

Use pr_err() instead of dev_err() when the pmc->dev field has not been
initialized yet and add a few missing error messages as well as remove
duplicate ones.

Based on work by Jon Hunter <jonathanh@nvidia.com>.

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