ASoC: rt5682: Use clk_hw based APIs for registration
authorStephen Boyd <swboyd@chromium.org>
Tue, 4 Aug 2020 00:05:31 +0000 (17:05 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 12:33:44 +0000 (13:33 +0100)
commit653bdab267bd8dbce9cbd16bec843ca9d20a8450
treeb37580a29e863fb7e85bb7aabb56166b4a6cd35d
parentedbd24ea1e5c72980b37ae2d271696b05274d509
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>
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h