clk: mediatek: mt2712-apmixedsys: Add .remove() callback for module build
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 6 Mar 2023 14:04:58 +0000 (15:04 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 13 Mar 2023 18:50:13 +0000 (11:50 -0700)
commitc6368ce864356ffbb9a4d95bdfbfc53e55467434
tree2a6af41748c234e10b618ea39ce3acd6da389bfb
parentae567c34819536a1e7e7e5d202fabb1ce122dd79
clk: mediatek: mt2712-apmixedsys: Add .remove() callback for module build

Add a .remove() callback to the apmixedsys driver to allow full module
build; while at it, also change the usage of builtin_platform_driver()
to module_platform_driver() to actually make use of the new callback.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230306140543.1813621-10-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt2712-apmixedsys.c