]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
interconnect: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 17 Oct 2024 15:49:21 +0000 (17:49 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 22 Oct 2024 09:34:18 +0000 (12:34 +0300)
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>
41 files changed:
drivers/interconnect/imx/imx8mm.c
drivers/interconnect/imx/imx8mn.c
drivers/interconnect/imx/imx8mp.c
drivers/interconnect/imx/imx8mq.c
drivers/interconnect/mediatek/mt8183.c
drivers/interconnect/mediatek/mt8195.c
drivers/interconnect/qcom/msm8909.c
drivers/interconnect/qcom/msm8916.c
drivers/interconnect/qcom/msm8937.c
drivers/interconnect/qcom/msm8939.c
drivers/interconnect/qcom/msm8953.c
drivers/interconnect/qcom/msm8974.c
drivers/interconnect/qcom/msm8976.c
drivers/interconnect/qcom/msm8996.c
drivers/interconnect/qcom/osm-l3.c
drivers/interconnect/qcom/qcm2290.c
drivers/interconnect/qcom/qcs404.c
drivers/interconnect/qcom/qdu1000.c
drivers/interconnect/qcom/sa8775p.c
drivers/interconnect/qcom/sc7180.c
drivers/interconnect/qcom/sc7280.c
drivers/interconnect/qcom/sc8180x.c
drivers/interconnect/qcom/sc8280xp.c
drivers/interconnect/qcom/sdm660.c
drivers/interconnect/qcom/sdm670.c
drivers/interconnect/qcom/sdm845.c
drivers/interconnect/qcom/sdx55.c
drivers/interconnect/qcom/sdx65.c
drivers/interconnect/qcom/sdx75.c
drivers/interconnect/qcom/sm6115.c
drivers/interconnect/qcom/sm6350.c
drivers/interconnect/qcom/sm7150.c
drivers/interconnect/qcom/sm8150.c
drivers/interconnect/qcom/sm8250.c
drivers/interconnect/qcom/sm8350.c
drivers/interconnect/qcom/sm8450.c
drivers/interconnect/qcom/sm8550.c
drivers/interconnect/qcom/sm8650.c
drivers/interconnect/qcom/smd-rpm.c
drivers/interconnect/qcom/x1e80100.c
drivers/interconnect/samsung/exynos.c

index a36aaaf106aeed8f7b16405319b73a7188d13f48..efed12d635c1d88ece6875eca3c66c8b331f5789 100644 (file)
@@ -88,7 +88,7 @@ static int imx8mm_icc_probe(struct platform_device *pdev)
 
 static struct platform_driver imx8mm_icc_driver = {
        .probe = imx8mm_icc_probe,
-       .remove_new = imx_icc_unregister,
+       .remove = imx_icc_unregister,
        .driver = {
                .name = "imx8mm-interconnect",
        },
index 2a97c74e875b968aefe7c2494222ae3b3e777575..535fae791f2e90f7779f85949d5f19c6d43d6a6e 100644 (file)
@@ -77,7 +77,7 @@ static int imx8mn_icc_probe(struct platform_device *pdev)
 
 static struct platform_driver imx8mn_icc_driver = {
        .probe = imx8mn_icc_probe,
-       .remove_new = imx_icc_unregister,
+       .remove = imx_icc_unregister,
        .driver = {
                .name = "imx8mn-interconnect",
        },
index 86d4c1517b263f7910e7816c85b15dd7599729f6..c5751ed18d51938a790f93aee5ddb48660762ffa 100644 (file)
@@ -241,7 +241,7 @@ static int imx8mp_icc_probe(struct platform_device *pdev)
 
 static struct platform_driver imx8mp_icc_driver = {
        .probe = imx8mp_icc_probe,
-       .remove_new = imx_icc_unregister,
+       .remove = imx_icc_unregister,
        .driver = {
                .name = "imx8mp-interconnect",
        },
index f817d24aeefb676c78ae729052a02295282027ca..6aa4f06b467645c059decef3ed7df00c0c666f49 100644 (file)
@@ -87,7 +87,7 @@ static int imx8mq_icc_probe(struct platform_device *pdev)
 
 static struct platform_driver imx8mq_icc_driver = {
        .probe = imx8mq_icc_probe,
-       .remove_new = imx_icc_unregister,
+       .remove = imx_icc_unregister,
        .driver = {
                .name = "imx8mq-interconnect",
                .sync_state = icc_sync_state,
index 24245085c7a94447f7cdf67700fa6cfed08f1573..c212e79334cf5b2fac1493d1aeb8979b1ec1187b 100644 (file)
@@ -133,7 +133,7 @@ static struct platform_driver mtk_emi_icc_mt8183_driver = {
                .sync_state = icc_sync_state,
        },
        .probe = mtk_emi_icc_probe,
-       .remove_new = mtk_emi_icc_remove,
+       .remove = mtk_emi_icc_remove,
 
 };
 module_platform_driver(mtk_emi_icc_mt8183_driver);
index 710e14c5447ccf8fc851f72bad0a5bae8325cc40..3ca23469ab18d159371a26566c05ded3ad575fca 100644 (file)
@@ -329,7 +329,7 @@ static struct platform_driver mtk_emi_icc_mt8195_driver = {
                .sync_state = icc_sync_state,
        },
        .probe = mtk_emi_icc_probe,
-       .remove_new = mtk_emi_icc_remove,
+       .remove = mtk_emi_icc_remove,
 
 };
 module_platform_driver(mtk_emi_icc_mt8195_driver);
index 0d0cd7282f5b70b0298fb1aa6706c9ef7daa721f..dd656ce7b64d1ae6691383e68ebe0a94647368dd 100644 (file)
@@ -1316,7 +1316,7 @@ MODULE_DEVICE_TABLE(of, msm8909_noc_of_match);
 
 static struct platform_driver msm8909_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8909",
                .of_match_table = msm8909_noc_of_match,
index 499b1a9ac413bf52a587e81969e4f2e72e745049..35148880b3e87de86e78977390a7bd988f52e1c3 100644 (file)
@@ -1344,7 +1344,7 @@ MODULE_DEVICE_TABLE(of, msm8916_noc_of_match);
 
 static struct platform_driver msm8916_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8916",
                .of_match_table = msm8916_noc_of_match,
index d9f8ba69b32904651c7ee346acafcc2cf2c64b0e..58533d00266b4a241e46c60b660be11486c7cafd 100644 (file)
@@ -1337,7 +1337,7 @@ MODULE_DEVICE_TABLE(of, msm8937_noc_of_match);
 
 static struct platform_driver msm8937_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8937",
                .of_match_table = msm8937_noc_of_match,
index 8ff2c23b1ca0dd8759290190931f7e294a4e2d3d..b52c5ac1175c3fa458007b13906bba92219368db 100644 (file)
@@ -1421,7 +1421,7 @@ MODULE_DEVICE_TABLE(of, msm8939_noc_of_match);
 
 static struct platform_driver msm8939_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8939",
                .of_match_table = msm8939_noc_of_match,
index 62f8c0774b3ecc104f8e3a2297f52c747e2cce5e..be2b1a606612cc6c43ab63c4d5b74eabc281d325 100644 (file)
@@ -1310,7 +1310,7 @@ static const struct of_device_id msm8953_noc_of_match[] = {
 
 static struct platform_driver msm8953_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8953",
                .of_match_table = msm8953_noc_of_match,
index 241076b5f36b460b4c1035cbf0c3422d35dc5735..469fc48ebfe94d9ebb723132564583f4790d4850 100644 (file)
@@ -762,7 +762,7 @@ MODULE_DEVICE_TABLE(of, msm8974_noc_of_match);
 
 static struct platform_driver msm8974_noc_driver = {
        .probe = msm8974_icc_probe,
-       .remove_new = msm8974_icc_remove,
+       .remove = msm8974_icc_remove,
        .driver = {
                .name = "qnoc-msm8974",
                .of_match_table = msm8974_noc_of_match,
index ab963def77c3ae82daa483365d8dc2b0a5367389..4e2ac7ebe7429fe764540be194023c004f8fbca0 100644 (file)
@@ -1427,7 +1427,7 @@ MODULE_DEVICE_TABLE(of, msm8976_noc_of_match);
 
 static struct platform_driver msm8976_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8976",
                .of_match_table = msm8976_noc_of_match,
index 788131400cd132a4d963503db24efaf05ce7a46b..b73566c9b21f9dd275878419e030ab07163ef8dd 100644 (file)
@@ -2108,7 +2108,7 @@ MODULE_DEVICE_TABLE(of, qnoc_of_match);
 
 static struct platform_driver qnoc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-msm8996",
                .of_match_table = qnoc_of_match,
index 61a8695a9adc73b0bf0dc47f1232c03da7a1a52d..6a656ed44d49ba2985d106ee28fff5af159e6444 100644 (file)
@@ -290,7 +290,7 @@ MODULE_DEVICE_TABLE(of, osm_l3_of_match);
 
 static struct platform_driver osm_l3_driver = {
        .probe = qcom_osm_l3_probe,
-       .remove_new = qcom_osm_l3_remove,
+       .remove = qcom_osm_l3_remove,
        .driver = {
                .name = "osm-l3",
                .of_match_table = osm_l3_of_match,
index ccbdc6202c07a69877b0a831dbe397b01b77980a..e120bc1395f35c021809424a3fb0d54b504c7bc5 100644 (file)
@@ -1367,7 +1367,7 @@ MODULE_DEVICE_TABLE(of, qcm2290_noc_of_match);
 
 static struct platform_driver qcm2290_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-qcm2290",
                .of_match_table = qcm2290_noc_of_match,
index 63e9ff223ac49153f0407fa9f9a698993ba70d59..ceac7a69876951f2c04321fde8f2450cf90ac1a5 100644 (file)
@@ -1204,7 +1204,7 @@ MODULE_DEVICE_TABLE(of, qcs404_noc_of_match);
 
 static struct platform_driver qcs404_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-qcs404",
                .of_match_table = qcs404_noc_of_match,
index 9cb477d2bdfe2b5d7c6cbb9d50e2732a3f421355..a7392eb73d4a990ec65e9d55f3d0429d05270802 100644 (file)
@@ -1046,7 +1046,7 @@ MODULE_DEVICE_TABLE(of, qnoc_of_match);
 
 static struct platform_driver qnoc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qcom_icc_rpmh_remove,
+       .remove = qcom_icc_rpmh_remove,
        .driver = {
                .name = "qnoc-qdu1000",
                .of_match_table = qnoc_of_match,
index a729775c2aa45e52dc27aaf4cedefc88297d551b..e2826af3ea2e1e34eaedc2c56715809938926553 100644 (file)
@@ -2519,7 +2519,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-sa8775p",
                .of_match_table = qnoc_of_match,
index 34a1d163d6e164f278e27b4ed3178ab0014a15ac..af2be15438403e4b46fca464b84abd1e0ebebe76 100644 (file)
@@ -1807,7 +1807,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-sc7180",
                .of_match_table = qnoc_of_match,
index 6c314e000c3a49fc08b100146afed1c3c822cb7d..346f18d70e9e5e95821437ca716ef8f151a42574 100644 (file)
@@ -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,
index 03d626776ba17a3ff18c91c1e685a0230e8fcbbb..a741badaa966e0b1d0e0117f73f5d37c6ef9f19d 100644 (file)
@@ -1889,7 +1889,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-sc8180x",
                .of_match_table = qnoc_of_match,
index 7acd152bf0dd8d1c2b2b713a4d6d5d805282f8c2..0270f6c64481a92149cb19556acdc6e2fead39c9 100644 (file)
@@ -2391,7 +2391,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-sc8280xp",
                .of_match_table = qnoc_of_match,
index ab91de446da8818e31b6b8ddd30064f2592521f1..7392bebba3344fbf65e0dc36378e8c3fe5f3ae18 100644 (file)
@@ -1714,7 +1714,7 @@ MODULE_DEVICE_TABLE(of, sdm660_noc_of_match);
 
 static struct platform_driver sdm660_noc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-sdm660",
                .of_match_table = sdm660_noc_of_match,
index e5ee7fbaa641c9132f6187c53a024495c0599e96..907e1ff4ff81796ec9459ccc72a3f8c5d110ec57 100644 (file)
@@ -1533,7 +1533,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-sdm670",
                .of_match_table = qnoc_of_match,
index 584800ac871a8d1ce582acef1cb3a108f87e20da..855802be93fea1d999bc8a885f36c3c318e1d86d 100644 (file)
@@ -1802,7 +1802,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-sdm845",
                .of_match_table = qnoc_of_match,
index e97f28b8d2b25d0b95de0008c59306fe4f1d5dc7..4117db046fa00c634a43d9287711589315f60210 100644 (file)
@@ -913,7 +913,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-sdx55",
                .of_match_table = qnoc_of_match,
index 2f3f5479d8a51350be37263ce9e357ec31895fce..d3a6c6c148e5dedc95dbac3ad9b20538ce56a16d 100644 (file)
@@ -897,7 +897,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-sdx65",
                .of_match_table = qnoc_of_match,
index 7f422c27488d3321532fcdd70ea3af99cc943df2..7ef1f17f3292e15959cb06e3d8d8c5f3c6ecd060 100644 (file)
@@ -1083,7 +1083,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-sdx75",
                .of_match_table = qnoc_of_match,
index 271b07c74862d2f76ad1fd9015082ecb4f2a436c..3ee12c8a4d56b36d1d2dcec10e5e916b3e766742 100644 (file)
@@ -1402,7 +1402,7 @@ MODULE_DEVICE_TABLE(of, qnoc_of_match);
 
 static struct platform_driver qnoc_driver = {
        .probe = qnoc_probe,
-       .remove_new = qnoc_remove,
+       .remove = qnoc_remove,
        .driver = {
                .name = "qnoc-sm6115",
                .of_match_table = qnoc_of_match,
index 20923e8e611020c63c59620aae05efe158316692..f41d7e19ba269cba7cc07b0136a6d1fcccd8af4d 100644 (file)
@@ -1702,7 +1702,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-sm6350",
                .of_match_table = qnoc_of_match,
index dc0d1343f5100b8c6b3c7946e1bfd9229d49c0da..c8c77407cd508dfede2821b7d52bf9da54283bad 100644 (file)
@@ -1730,7 +1730,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-sm7150",
                .of_match_table = qnoc_of_match,
index f29b77556a7998a94d0b1ed7f13379a8d22c2666..edfe824cad3533cfc6263c2031838f96e1986fa5 100644 (file)
@@ -1864,7 +1864,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-sm8150",
                .of_match_table = qnoc_of_match,
index 1879fa15761f5e73ad45852130da72750b5713b6..cc1b14c1352910fd450c334fa90f2a0b390bb9bc 100644 (file)
@@ -1991,7 +1991,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-sm8250",
                .of_match_table = qnoc_of_match,
index 4236a43dc256f926ee53ea44a50e3c6722b72839..38105ead4f29548ab32c60aeba224fbf3909667c 100644 (file)
@@ -1807,7 +1807,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-sm8350",
                .of_match_table = qnoc_of_match,
index b3cd0087377ca7ca4b0492e5e049af4561ed8d43..eb7e17df32ba656cf1934e0fc112189966b22ac2 100644 (file)
@@ -1884,7 +1884,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-sm8450",
                .of_match_table = qnoc_of_match,
index 4d0e6fa9e003bde70eecbe154863743aeb33632a..fdb97d1f1d074d17b55f10a5852ce80388b611b7 100644 (file)
@@ -1645,7 +1645,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-sm8550",
                .of_match_table = qnoc_of_match,
index b962e6c233ef78ed3ed44cf0b0777bb62fbd50a6..20ac5bc5e1fbafe74800ad6f22839bac006ca7db 100644 (file)
@@ -1650,7 +1650,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-sm8650",
                .of_match_table = qnoc_of_match,
index 3816bfb4e2f39eaa31a5322146d28ba4fd604f1f..8316c87a2c60f5f99edece3443cc60e9e75fa11f 100644 (file)
@@ -85,7 +85,7 @@ static struct platform_driver qcom_interconnect_rpm_smd_driver = {
                .name           = "icc_smd_rpm",
        },
        .probe = qcom_icc_rpm_smd_probe,
-       .remove_new = qcom_icc_rpm_smd_remove,
+       .remove = qcom_icc_rpm_smd_remove,
 };
 module_platform_driver(qcom_interconnect_rpm_smd_driver);
 MODULE_AUTHOR("Georgi Djakov <georgi.djakov@linaro.org>");
index 654abb9ce08eedaa06dbe12945cc42d45e0844b0..2c46fdb4a0543f8345e03dbfe83d3a7ab95bd17c 100644 (file)
@@ -1964,7 +1964,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-x1e80100",
                .of_match_table = qnoc_of_match,
index c9e5361e17c5b03c2c250e601d6ee6a63c88064e..9e041365d9091be35f2bed1c7557ca60d7dba5ca 100644 (file)
@@ -180,7 +180,7 @@ static struct platform_driver exynos_generic_icc_driver = {
                .sync_state = icc_sync_state,
        },
        .probe = exynos_generic_icc_probe,
-       .remove_new = exynos_generic_icc_remove,
+       .remove = exynos_generic_icc_remove,
 };
 module_platform_driver(exynos_generic_icc_driver);