soc/tegra: pmc: Remove public pad voltage APIs
authorAapo Vienamo <avienamo@nvidia.com>
Fri, 10 Aug 2018 18:08:11 +0000 (21:08 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 27 Aug 2018 10:25:18 +0000 (12:25 +0200)
commitfccf0f76ecd3e4dfb947cb0eeac7ce22a2f0f42b
tree1bf6e8cc9f674bc2fa199cef37d2eadb3fba31fb
parent437c4f26f428cc2d5399442ce5d18f3c222c9c3b
soc/tegra: pmc: Remove public pad voltage APIs

Make tegra_io_pad_set_voltage() and tegra_io_pad_get_voltage() static
and remove the prototypes from pmc.h. Remove enum tegra_io_pad_voltage
and use the defines from <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
instead.

These functions aren't used outside of the pmc driver and new use cases
should use the pinctrl interface instead.

Signed-off-by: Aapo Vienamo <avienamo@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c
include/soc/tegra/pmc.h