diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-09-09 16:40:25 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-09-21 23:12:05 +0200 |
commit | f00b45db02ae4e0288bb719a9935b966733c7e91 (patch) | |
tree | 0bb22fd972c168acbb18161f584b73997f3f64ce /drivers/clk/imx/clk-imx8mp-audiomix.c | |
parent | Merge branches 'clk-devm', 'clk-samsung', 'clk-rockchip' and 'clk-qcom' into ... (diff) | |
download | linux-f00b45db02ae4e0288bb719a9935b966733c7e91.tar.xz linux-f00b45db02ae4e0288bb719a9935b966733c7e91.zip |
clk: Switch back to struct platform_driver::remove()
After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.
Convert all clk drivers to use .remove(), with the eventual goal to drop
struct platform_driver::remove_new(). As .remove() and .remove_new() have
the same prototypes, conversion is done by just changing the structure
member name in the driver initializer.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20240909144026.870565-2-u.kleine-koenig@baylibre.com
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk-imx8mp-audiomix.c')
-rw-r--r-- | drivers/clk/imx/clk-imx8mp-audiomix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx8mp-audiomix.c b/drivers/clk/imx/clk-imx8mp-audiomix.c index 50ad5873c990..b2cb157703c5 100644 --- a/drivers/clk/imx/clk-imx8mp-audiomix.c +++ b/drivers/clk/imx/clk-imx8mp-audiomix.c @@ -454,7 +454,7 @@ MODULE_DEVICE_TABLE(of, clk_imx8mp_audiomix_of_match); static struct platform_driver clk_imx8mp_audiomix_driver = { .probe = clk_imx8mp_audiomix_probe, - .remove_new = clk_imx8mp_audiomix_remove, + .remove = clk_imx8mp_audiomix_remove, .driver = { .name = "imx8mp-audio-blk-ctrl", .of_match_table = clk_imx8mp_audiomix_of_match, |