]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit575273164091b82eb5069e9e61145e8e13a4a15e
treeb37580a29e863fb7e85bb7aabb56166b4a6cd35d
parentda50df7d6f26307d976307dd9f354e29ee23050d
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