[PATCH 1/3] soc/tegra: pmc: Remove legacy Tegra I/O rail API

From: Laxman Dewangan
Date: Wed Nov 02 2016 - 05:16:31 EST


Remove tegra_io_rail_power_on() and tegra_io_rail_power_off()
from header as client has been moved to new APIs.

Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
---
Based on the branch
(https://github.com/thierryreding/linux/tree/tegra186).
This is just residual of earlier applied patch
commit 7cf94b5869b99c1fc0da8699542c8f3644537c33
Author: Thierry Reding <treding@xxxxxxxxxx>
soc/tegra: pmc: Remove legacy Tegra I/O rail API

Possibly it can be squashed on the change.


include/soc/tegra/pmc.h | 10 ----------
1 file changed, 10 deletions(-)

diff --git a/include/soc/tegra/pmc.h b/include/soc/tegra/pmc.h
index 52780a77..9c314a6 100644
--- a/include/soc/tegra/pmc.h
+++ b/include/soc/tegra/pmc.h
@@ -203,16 +203,6 @@ static inline int tegra_io_pad_get_voltage(enum tegra_io_pad id)
{
return -ENOSYS;
}
-
-static inline int tegra_io_rail_power_on(unsigned int id)
-{
- return -ENOSYS;
-}
-
-static inline int tegra_io_rail_power_off(unsigned int id)
-{
- return -ENOSYS;
-}
#endif /* CONFIG_ARCH_TEGRA */

#endif /* __SOC_TEGRA_PMC_H__ */
--
2.1.4