diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-17 17:49:21 +0200 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2024-10-22 11:34:18 +0200 |
commit | 31f1b03fbdeb93a1d6b019e0dfd11eb7ba3aa95e (patch) | |
tree | fbb8675f1b49ada09a2260ff8c7610f0eabba5c1 /drivers/interconnect/qcom/sc7280.c | |
parent | interconnect: Remove a useless kfree_const() usage (diff) | |
download | linux-31f1b03fbdeb93a1d6b019e0dfd11eb7ba3aa95e.tar.xz linux-31f1b03fbdeb93a1d6b019e0dfd11eb7ba3aa95e.zip |
interconnect: 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 platform drivers below drivers/interconnect 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/20241017154920.136220-2-u.kleine-koenig@baylibre.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/qcom/sc7280.c')
-rw-r--r-- | drivers/interconnect/qcom/sc7280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/sc7280.c b/drivers/interconnect/qcom/sc7280.c index 6c314e000c3a..346f18d70e9e 100644 --- a/drivers/interconnect/qcom/sc7280.c +++ b/drivers/interconnect/qcom/sc7280.c @@ -2111,7 +2111,7 @@ MODULE_DEVICE_TABLE(of, qnoc_of_match); static struct platform_driver qnoc_driver = { .probe = qcom_icc_rpmh_probe, - .remove_new = qcom_icc_rpmh_remove, + .remove = qcom_icc_rpmh_remove, .driver = { .name = "qnoc-sc7280", .of_match_table = qnoc_of_match, |