clk: tegra: pll: Simplify clk_enable_path
authorRhyland Klein <rklein@nvidia.com>
Thu, 18 Jun 2015 21:28:20 +0000 (17:28 -0400)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Nov 2015 17:04:29 +0000 (18:04 +0100)
commit7db864c9deb28b1352fdf8d2b72cd54c78ed7d9c
tree31d0bc42a05a0b567fa0cd844e2409518a261fac
parent6583a6309e83e89f00e104c4ffd9df01d2e5a9f8
clk: tegra: pll: Simplify clk_enable_path

Instead of having multiple similar wrapper functions for
_clk_pll_[enable|disable], we can simplify it to single
wrappers and use checks to avoid the logic we don't want to use.

Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-pll.c