OSDN Git Service

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)
commite6fb7aee486c7fbd4d94f4894feaa6f0424c1740
tree3473141809e3725c5df4dc846acd3c1e07622e99
parent6d30d50d037dfa092f9d5d1fffa348ab4abb7163
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