]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
clk: tegra: Re-factor T210 PLLX registration
authorAlex Frid <afrid@nvidia.com>
Tue, 25 Jul 2017 10:34:11 +0000 (13:34 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Aug 2017 22:59:59 +0000 (15:59 -0700)
commitac99afe55adf1406e367d229a1c5b2f09818b5a6
tree3cfedd0eb75acb093edf22b1cd5c2c11a7a13011
parent1934ffd08d79ad746dbb1e2fcaeb76950be57be6
clk: tegra: Re-factor T210 PLLX registration

Tegra210 PLLX uses the same sequences than then PLLC instances. So there
is no need to have a special registration function and ops struct for it.
Simplify the code by changing all references to the Tegra210 PLLX
registration function to the Tegra210 PLLC registration function and
avoid duplicate functionality.

Based on work by Alex Frid <afrid@nvidia.com>

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/tegra/clk-pll.c
drivers/clk/tegra/clk-tegra-super-gen4.c
drivers/clk/tegra/clk-tegra210.c
drivers/clk/tegra/clk.h