diff options
author | Stephen Boyd <swboyd@chromium.org> | 2020-08-03 17:05:31 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-17 13:33:44 +0100 |
commit | 653bdab267bd8dbce9cbd16bec843ca9d20a8450 (patch) | |
tree | b37580a29e863fb7e85bb7aabb56166b4a6cd35d /sound/soc/codecs/rt5682.h | |
parent | edbd24ea1e5c72980b37ae2d271696b05274d509 (diff) | |
download | linux-653bdab267bd8dbce9cbd16bec843ca9d20a8450.tar.gz linux-653bdab267bd8dbce9cbd16bec843ca9d20a8450.tar.bz2 linux-653bdab267bd8dbce9cbd16bec843ca9d20a8450.zip |
ASoC: rt5682: Use clk_hw based APIs for registration
The (new?) style of clk registration uses clk_hw based APIs so that we
can more easily see the difference between clk providers and clk
consumers. Use the clk_hw based APIs to do this and migrate to devm for
the clkdev creation so that we can reduce the amount of code.
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Cc: Cheng-Yi Chiang <cychiang@chromium.org>
Cc: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20200804000531.920688-4-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5682.h')
-rw-r--r-- | sound/soc/codecs/rt5682.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5682.h b/sound/soc/codecs/rt5682.h index 6d94327beae5..354acd735ef4 100644 --- a/sound/soc/codecs/rt5682.h +++ b/sound/soc/codecs/rt5682.h @@ -1411,8 +1411,6 @@ struct rt5682_priv { #ifdef CONFIG_COMMON_CLK struct clk_hw dai_clks_hw[RT5682_DAI_NUM_CLKS]; - struct clk_lookup *dai_clks_lookup[RT5682_DAI_NUM_CLKS]; - struct clk *dai_clks[RT5682_DAI_NUM_CLKS]; struct clk *mclk; #endif |