]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Use tegra_clk_register_periph_data()
authorThierry Reding <treding@nvidia.com>
Wed, 30 Aug 2017 10:19:08 +0000 (12:19 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Oct 2017 14:38:41 +0000 (16:38 +0200)
commitd254d21277936946d59a187c23b9596ce9e182db
treec94320fbdc8883c2ba27718c8dedaf9e47641cbc
parente0da6d51163a331e620f4f324659ea54c03a0d74
clk: tegra: Use tegra_clk_register_periph_data()

Instead of open-coding the same pattern repeatedly, reuse the newly
introduced tegra_clk_register_periph_data() helper that will unpack
the initialization structure.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra-periph.c
drivers/clk/tegra/clk-tegra114.c
drivers/clk/tegra/clk-tegra20.c
drivers/clk/tegra/clk-tegra30.c