]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: g12: use devm variant to register notifiers
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 21 Oct 2020 16:38:47 +0000 (18:38 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 14 Nov 2020 20:58:31 +0000 (12:58 -0800)
commit39ae1446688a74c22b62b90188d60edb7f3e30c4
tree3473141809e3725c5df4dc846acd3c1e07622e99
parent0e71d9b645bbfdf449b9ee8c5faa04ddba06f7d4
clk: meson: g12: use devm variant to register notifiers

Until now, nothing was done to unregister the dvfs clock notifiers of the
Amlogic g12 SoC family. This is not great but this driver was not really
expected to be unloaded. With the ongoing effort to build everything as
module for this platform, this needs to be cleanly handled.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20201021163847.595189-3-jbrunet@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/meson/g12a.c
include/linux/clk.h