From nobody Mon Nov 25 07:38:54 2024 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43CEF2036EA for ; Tue, 29 Oct 2024 07:49:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730188156; cv=none; b=l5C++DofUzNO3O9fe6w71UbDkZttg7M1qC/N3LvqTWNqbEzxLpaZdZc5MgqEVo5ULQS2GqKTklaM8HTwXavmSJiZ9kkrqkRECzLAqHfAAu9xS6FgdhCnS6wbUDPXzJnJmMSbzjn0bYdZ1doLo6qttClfGNARL6o0iZlUzI/dGCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730188156; c=relaxed/simple; bh=fnnipu1v9HmdJU4ysZHd39XDD27bDCU235ZUeCAg6nQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=lVjgHrWfp5xEAuFo93heSl0pjSEAeZ1+avVAhsuz3OnOk1uuKR7Kx28JVEHFCQgc7R6bvTSv3KZXUePNSG/F+M4dh8jE+DxrhMFtfB1AMVdbS4Co5KoIPzoDJe8PFFqAk3K0X7NRDHJ1EfK+aT88b1x3SvvZYLW+nj8EaJPb2qQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=toy8OjQ+; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="toy8OjQ+" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2fb57f97d75so42943411fa.2 for ; Tue, 29 Oct 2024 00:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1730188149; x=1730792949; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QCw635TGuENx07EaRSTZGCzhpZFETm5Vel7NYeU7n3E=; b=toy8OjQ+COiaBQ0H5w/rIQhKurHXlaL9CRfHvxxyCz/RhIcm1mo99rEqdOoIAGXTHb tPxFwlGMWTk2Ytt8PwS9t1iJ34bRf/5bc8nGIE6yGWKdKR1o66S6b4b+jISITutF6L/z 6kAl8jiqM3NoPcxOy6hoXP63laWtGspXhCt/rqzQB7AF6O90a6HBbK01xsjUfOOu7Ay2 S0XWdNG0JbVj4+8b0/1ZSRi0QQXHUNxJIZMvY/bc1zFeGA7wtcgljUGAvfKtuSWVW+Co XsBznXSgYirfIQuunSqNivAEqPWLHr37XN042Mud9cQzf/zceESaTS1mfHvPvG7TxUUV wZ+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730188149; x=1730792949; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QCw635TGuENx07EaRSTZGCzhpZFETm5Vel7NYeU7n3E=; b=aT2WlmpQC/mSJ3REC2vH2kS77XWw21VlSHKrbDgBSI0keRtip953MfS/PwTF1dhE8N 0I9OZztYqidk1ga1XYXPDaZC9FyJ9QZHdb8DYS1KoP6vgQRqkqyFlfGqkzWt6FaEeMlO 10D5Dru5us0E621sJB+zr8gqmR2t812l7rxn9coaiij+ts3S1jpqgWrLZ4p6JgGuSbDz BbQmKCvPbXxEyFoDiq9QnqOxR7v4bpPOnct9WqlAip8WC6vB1VJ+W7dJ83BP4tYI61hL xKvHNuforpXkAe1pgbp8flWYy5sesU0ZtHD3IhjZFuegGGs3u3o8xNYajU88WfaCTEnN P1nA== X-Forwarded-Encrypted: i=1; AJvYcCU6s13bvBSZ2fbbChM4b4QjyyenLtoAAyfVffNYcrejKq01RBB3FuRQ930lGqkdXdCi+/CHHpgfKjzG0ok=@vger.kernel.org X-Gm-Message-State: AOJu0YzKxqEw8lrEuC5Cpq11/nGf1GDlk9qW9xnJFAWf8r2b1RIRvj63 pesCZmOryE7uyqw7losbFFMbw+dQnI/kD9EpNRoklkG9zZMJlI9nuluX9XWlLks= X-Google-Smtp-Source: AGHT+IEiy2uM0QbU0rGfI+6lQhTGNKNRDAhi18c5OfAAL1QDrCnK1OjCXdp0JS6eDw82pAWqu+69qg== X-Received: by 2002:a05:6512:3ca1:b0:539:edf4:68b4 with SMTP id 2adb3069b0e04-53b34a320e7mr3505181e87.57.1730188149240; Tue, 29 Oct 2024 00:49:09 -0700 (PDT) Received: from localhost (p50915d2d.dip0.t-ipconnect.de. [80.145.93.45]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b1cc0asm11850202f8f.10.2024.10.29.00.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 00:49:08 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Arnd Bergmann , Olof Johansson Cc: Joel Stanley , Andrew Jeffery , Christophe Leroy , Herve Codina , Qiang Zhao , Hitomi Hasegawa , Huisong Li , Linus Walleij , Imre Kaloz , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Yinbo Zhu , Matthias Brugger , AngeloGioacchino Del Regno , Conor Dooley , Daire McNamara , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Heiko Stuebner , Alim Akhtar , Thierry Reding , Jonathan Hunter , Nishanth Menon , Santosh Shilimkar , Michal Simek , Andy Shevchenko , =?utf-8?q?Duje_Mihanovi=C4=87?= , Mark Brown , David Wu , Jianqun Xu , Jay Buddhabhatti , Radhey Shyam Pandey , Izhar Ameer Shaikh , Naman Trivedi Manojbhai , linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-riscv@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] soc: Switch back to struct platform_driver::remove() Date: Tue, 29 Oct 2024 08:48:58 +0100 Message-ID: <20241029074859.509587-2-u.kleine-koenig@baylibre.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=26321; i=u.kleine-koenig@baylibre.com; h=from:subject; bh=fnnipu1v9HmdJU4ysZHd39XDD27bDCU235ZUeCAg6nQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBnIJNr/CHo9H03UCk92GQ+eXG9SjbKcOiSiGJM3 fvPNk4tk5+JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZyCTawAKCRCPgPtYfRL+ Tr7WB/4oG7s/vSEelL6mw2Yv4b8acJHHEU0TymDWXfks0AghGYPP09hc+oS3icrfHXQ+BGjoJ4m iHzustxNtNbSMlEMziFj5toAnzAckkrZOp+HBPNyMa6BZ4d+Rev8bbiv3EEqHAW9yMSptFqS29R up+wNm2mTkdJHQA/zBMf2mzB1CBTyNq1QzyQi/v310HaL+LmsmSZnWwtmGV1a4ZmcgG9yYjrClI ThNQA3UAlM0/Dh4et/gbxxYd5I+GEuCgjI7dMaXzy9TqsfGaytroA4rHca5F+CuNw1WH8L0Nmz+ bnCkMH4JmUhw0NplwXtSNUoyb5xFcEUpWyvq7xgBzBLWuZcY X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: quoted-printable 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/soc 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. On the way do a few whitespace changes to make indention consistent. Signed-off-by: Uwe Kleine-K=C3=B6nig Acked-by: Andrew Jeffery # aspeed Acked-by: Bjorn Andersson # qcom parts Acked-by: Gabriel Somlo Acked-by: Heiko Stuebner Acked-by: Herve Codina # for fsl/qe/{qmc,tsa}.c --- Hello, I did a single patch for all of drivers/soc. While I usually prefer to do one logical change per patch, this seems to be overengineering here as the individual changes are really trivial and shouldn't be much in the way for stable backports. There is no dedicated maintainer for all of drivers/soc, but I'd expect it to be ok to be picked up by the arm soc team. This is based on today's next, if conflicts arise when you apply it at some later time and don't want to resolve them, feel free to just drop the changes to the conflicting files. I'll notice and followup at a later time then. Or ask me for a fixed resend. Best regards Uwe drivers/soc/aspeed/aspeed-lpc-ctrl.c | 2 +- drivers/soc/aspeed/aspeed-lpc-snoop.c | 2 +- drivers/soc/aspeed/aspeed-p2a-ctrl.c | 2 +- drivers/soc/aspeed/aspeed-uart-routing.c | 2 +- drivers/soc/fsl/dpaa2-console.c | 2 +- drivers/soc/fsl/qe/qmc.c | 2 +- drivers/soc/fsl/qe/tsa.c | 2 +- drivers/soc/fujitsu/a64fx-diag.c | 2 +- drivers/soc/hisilicon/kunpeng_hccs.c | 2 +- drivers/soc/ixp4xx/ixp4xx-npe.c | 2 +- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 2 +- drivers/soc/litex/litex_soc_ctrl.c | 2 +- drivers/soc/loongson/loongson2_guts.c | 2 +- drivers/soc/mediatek/mtk-devapc.c | 2 +- drivers/soc/mediatek/mtk-mmsys.c | 2 +- drivers/soc/mediatek/mtk-socinfo.c | 2 +- drivers/soc/microchip/mpfs-sys-controller.c | 2 +- drivers/soc/pxa/ssp.c | 2 +- drivers/soc/qcom/icc-bwmon.c | 2 +- drivers/soc/qcom/llcc-qcom.c | 2 +- drivers/soc/qcom/ocmem.c | 2 +- drivers/soc/qcom/pmic_glink.c | 2 +- drivers/soc/qcom/qcom_aoss.c | 2 +- drivers/soc/qcom/qcom_gsbi.c | 2 +- drivers/soc/qcom/qcom_stats.c | 2 +- drivers/soc/qcom/ramp_controller.c | 4 ++-- drivers/soc/qcom/rmtfs_mem.c | 2 +- drivers/soc/qcom/rpm-proc.c | 2 +- drivers/soc/qcom/rpm_master_stats.c | 2 +- drivers/soc/qcom/smem.c | 2 +- drivers/soc/qcom/smp2p.c | 2 +- drivers/soc/qcom/smsm.c | 6 +++--- drivers/soc/qcom/socinfo.c | 2 +- drivers/soc/rockchip/io-domain.c | 8 ++++---- drivers/soc/samsung/exynos-chipid.c | 4 ++-- drivers/soc/tegra/cbb/tegra194-cbb.c | 2 +- drivers/soc/ti/k3-ringacc.c | 2 +- drivers/soc/ti/knav_dma.c | 4 ++-- drivers/soc/ti/knav_qmss_queue.c | 2 +- drivers/soc/ti/pm33xx.c | 2 +- drivers/soc/ti/pruss.c | 4 ++-- drivers/soc/ti/smartreflex.c | 2 +- drivers/soc/ti/wkup_m3_ipc.c | 2 +- drivers/soc/xilinx/xlnx_event_manager.c | 2 +- drivers/soc/xilinx/zynqmp_power.c | 2 +- 45 files changed, 54 insertions(+), 54 deletions(-) diff --git a/drivers/soc/aspeed/aspeed-lpc-ctrl.c b/drivers/soc/aspeed/aspe= ed-lpc-ctrl.c index e87038009d1b..ee58151bd69e 100644 --- a/drivers/soc/aspeed/aspeed-lpc-ctrl.c +++ b/drivers/soc/aspeed/aspeed-lpc-ctrl.c @@ -353,7 +353,7 @@ static struct platform_driver aspeed_lpc_ctrl_driver = =3D { .of_match_table =3D aspeed_lpc_ctrl_match, }, .probe =3D aspeed_lpc_ctrl_probe, - .remove_new =3D aspeed_lpc_ctrl_remove, + .remove =3D aspeed_lpc_ctrl_remove, }; =20 module_platform_driver(aspeed_lpc_ctrl_driver); diff --git a/drivers/soc/aspeed/aspeed-lpc-snoop.c b/drivers/soc/aspeed/asp= eed-lpc-snoop.c index 888b5840c015..9ab5ba9cf1d6 100644 --- a/drivers/soc/aspeed/aspeed-lpc-snoop.c +++ b/drivers/soc/aspeed/aspeed-lpc-snoop.c @@ -366,7 +366,7 @@ static struct platform_driver aspeed_lpc_snoop_driver = =3D { .of_match_table =3D aspeed_lpc_snoop_match, }, .probe =3D aspeed_lpc_snoop_probe, - .remove_new =3D aspeed_lpc_snoop_remove, + .remove =3D aspeed_lpc_snoop_remove, }; =20 module_platform_driver(aspeed_lpc_snoop_driver); diff --git a/drivers/soc/aspeed/aspeed-p2a-ctrl.c b/drivers/soc/aspeed/aspe= ed-p2a-ctrl.c index 8610ddacc7bc..6cc943744e12 100644 --- a/drivers/soc/aspeed/aspeed-p2a-ctrl.c +++ b/drivers/soc/aspeed/aspeed-p2a-ctrl.c @@ -431,7 +431,7 @@ static struct platform_driver aspeed_p2a_ctrl_driver = =3D { .of_match_table =3D aspeed_p2a_ctrl_match, }, .probe =3D aspeed_p2a_ctrl_probe, - .remove_new =3D aspeed_p2a_ctrl_remove, + .remove =3D aspeed_p2a_ctrl_remove, }; =20 module_platform_driver(aspeed_p2a_ctrl_driver); diff --git a/drivers/soc/aspeed/aspeed-uart-routing.c b/drivers/soc/aspeed/= aspeed-uart-routing.c index a2195f062e01..0191e36e66e1 100644 --- a/drivers/soc/aspeed/aspeed-uart-routing.c +++ b/drivers/soc/aspeed/aspeed-uart-routing.c @@ -589,7 +589,7 @@ static struct platform_driver aspeed_uart_routing_drive= r =3D { .of_match_table =3D aspeed_uart_routing_table, }, .probe =3D aspeed_uart_routing_probe, - .remove_new =3D aspeed_uart_routing_remove, + .remove =3D aspeed_uart_routing_remove, }; =20 module_platform_driver(aspeed_uart_routing_driver); diff --git a/drivers/soc/fsl/dpaa2-console.c b/drivers/soc/fsl/dpaa2-consol= e.c index 6dbc77db7718..6310f54e68a2 100644 --- a/drivers/soc/fsl/dpaa2-console.c +++ b/drivers/soc/fsl/dpaa2-console.c @@ -320,7 +320,7 @@ static struct platform_driver dpaa2_console_driver =3D { .of_match_table =3D dpaa2_console_match_table, }, .probe =3D dpaa2_console_probe, - .remove_new =3D dpaa2_console_remove, + .remove =3D dpaa2_console_remove, }; module_platform_driver(dpaa2_console_driver); =20 diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c index 19cc581b06d0..29d7fd7d5b21 100644 --- a/drivers/soc/fsl/qe/qmc.c +++ b/drivers/soc/fsl/qe/qmc.c @@ -2092,7 +2092,7 @@ static struct platform_driver qmc_driver =3D { .of_match_table =3D of_match_ptr(qmc_id_table), }, .probe =3D qmc_probe, - .remove_new =3D qmc_remove, + .remove =3D qmc_remove, }; module_platform_driver(qmc_driver); =20 diff --git a/drivers/soc/fsl/qe/tsa.c b/drivers/soc/fsl/qe/tsa.c index f0889b3fcaf2..515da9b45c2c 100644 --- a/drivers/soc/fsl/qe/tsa.c +++ b/drivers/soc/fsl/qe/tsa.c @@ -1086,7 +1086,7 @@ static struct platform_driver tsa_driver =3D { .of_match_table =3D of_match_ptr(tsa_id_table), }, .probe =3D tsa_probe, - .remove_new =3D tsa_remove, + .remove =3D tsa_remove, }; module_platform_driver(tsa_driver); =20 diff --git a/drivers/soc/fujitsu/a64fx-diag.c b/drivers/soc/fujitsu/a64fx-d= iag.c index 330901893577..76cb0b6a221c 100644 --- a/drivers/soc/fujitsu/a64fx-diag.c +++ b/drivers/soc/fujitsu/a64fx-diag.c @@ -142,7 +142,7 @@ static struct platform_driver a64fx_diag_driver =3D { .acpi_match_table =3D ACPI_PTR(a64fx_diag_acpi_match), }, .probe =3D a64fx_diag_probe, - .remove_new =3D a64fx_diag_remove, + .remove =3D a64fx_diag_remove, }; =20 module_platform_driver(a64fx_diag_driver); diff --git a/drivers/soc/hisilicon/kunpeng_hccs.c b/drivers/soc/hisilicon/k= unpeng_hccs.c index e882a61636ec..8f51e59c9bb1 100644 --- a/drivers/soc/hisilicon/kunpeng_hccs.c +++ b/drivers/soc/hisilicon/kunpeng_hccs.c @@ -1348,7 +1348,7 @@ MODULE_DEVICE_TABLE(acpi, hccs_acpi_match); =20 static struct platform_driver hccs_driver =3D { .probe =3D hccs_probe, - .remove_new =3D hccs_remove, + .remove =3D hccs_remove, .driver =3D { .name =3D "kunpeng_hccs", .acpi_match_table =3D hccs_acpi_match, diff --git a/drivers/soc/ixp4xx/ixp4xx-npe.c b/drivers/soc/ixp4xx/ixp4xx-np= e.c index 34a6f187c220..33e2e0366f19 100644 --- a/drivers/soc/ixp4xx/ixp4xx-npe.c +++ b/drivers/soc/ixp4xx/ixp4xx-npe.c @@ -759,7 +759,7 @@ static struct platform_driver ixp4xx_npe_driver =3D { .of_match_table =3D ixp4xx_npe_of_match, }, .probe =3D ixp4xx_npe_probe, - .remove_new =3D ixp4xx_npe_remove, + .remove =3D ixp4xx_npe_remove, }; module_platform_driver(ixp4xx_npe_driver); =20 diff --git a/drivers/soc/ixp4xx/ixp4xx-qmgr.c b/drivers/soc/ixp4xx/ixp4xx-q= mgr.c index cb112f3643e9..475e229039e3 100644 --- a/drivers/soc/ixp4xx/ixp4xx-qmgr.c +++ b/drivers/soc/ixp4xx/ixp4xx-qmgr.c @@ -461,7 +461,7 @@ static struct platform_driver ixp4xx_qmgr_driver =3D { .of_match_table =3D ixp4xx_qmgr_of_match, }, .probe =3D ixp4xx_qmgr_probe, - .remove_new =3D ixp4xx_qmgr_remove, + .remove =3D ixp4xx_qmgr_remove, }; module_platform_driver(ixp4xx_qmgr_driver); =20 diff --git a/drivers/soc/litex/litex_soc_ctrl.c b/drivers/soc/litex/litex_s= oc_ctrl.c index 72c44119dd54..d08bfc8ef7be 100644 --- a/drivers/soc/litex/litex_soc_ctrl.c +++ b/drivers/soc/litex/litex_soc_ctrl.c @@ -131,7 +131,7 @@ static struct platform_driver litex_soc_ctrl_driver =3D= { .of_match_table =3D litex_soc_ctrl_of_match, }, .probe =3D litex_soc_ctrl_probe, - .remove_new =3D litex_soc_ctrl_remove, + .remove =3D litex_soc_ctrl_remove, }; =20 module_platform_driver(litex_soc_ctrl_driver); diff --git a/drivers/soc/loongson/loongson2_guts.c b/drivers/soc/loongson/l= oongson2_guts.c index ef352a0f5022..ae42e3a9127f 100644 --- a/drivers/soc/loongson/loongson2_guts.c +++ b/drivers/soc/loongson/loongson2_guts.c @@ -169,7 +169,7 @@ static struct platform_driver loongson2_guts_driver =3D= { .of_match_table =3D loongson2_guts_of_match, }, .probe =3D loongson2_guts_probe, - .remove_new =3D loongson2_guts_remove, + .remove =3D loongson2_guts_remove, }; =20 static int __init loongson2_guts_init(void) diff --git a/drivers/soc/mediatek/mtk-devapc.c b/drivers/soc/mediatek/mtk-d= evapc.c index 56cc345552a4..2a1adcb87d4e 100644 --- a/drivers/soc/mediatek/mtk-devapc.c +++ b/drivers/soc/mediatek/mtk-devapc.c @@ -301,7 +301,7 @@ static void mtk_devapc_remove(struct platform_device *p= dev) =20 static struct platform_driver mtk_devapc_driver =3D { .probe =3D mtk_devapc_probe, - .remove_new =3D mtk_devapc_remove, + .remove =3D mtk_devapc_remove, .driver =3D { .name =3D "mtk-devapc", .of_match_table =3D mtk_devapc_dt_match, diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mm= sys.c index 938240714e54..bb4639ca0b8c 100644 --- a/drivers/soc/mediatek/mtk-mmsys.c +++ b/drivers/soc/mediatek/mtk-mmsys.c @@ -487,7 +487,7 @@ static struct platform_driver mtk_mmsys_drv =3D { .of_match_table =3D of_match_mtk_mmsys, }, .probe =3D mtk_mmsys_probe, - .remove_new =3D mtk_mmsys_remove, + .remove =3D mtk_mmsys_remove, }; module_platform_driver(mtk_mmsys_drv); =20 diff --git a/drivers/soc/mediatek/mtk-socinfo.c b/drivers/soc/mediatek/mtk-= socinfo.c index 74672a9d6d13..123b12cd2543 100644 --- a/drivers/soc/mediatek/mtk-socinfo.c +++ b/drivers/soc/mediatek/mtk-socinfo.c @@ -187,7 +187,7 @@ static void mtk_socinfo_remove(struct platform_device *= pdev) =20 static struct platform_driver mtk_socinfo =3D { .probe =3D mtk_socinfo_probe, - .remove_new =3D mtk_socinfo_remove, + .remove =3D mtk_socinfo_remove, .driver =3D { .name =3D "mtk-socinfo", }, diff --git a/drivers/soc/microchip/mpfs-sys-controller.c b/drivers/soc/micr= ochip/mpfs-sys-controller.c index 7a4936019329..30bc45d17d34 100644 --- a/drivers/soc/microchip/mpfs-sys-controller.c +++ b/drivers/soc/microchip/mpfs-sys-controller.c @@ -232,7 +232,7 @@ static struct platform_driver mpfs_sys_controller_drive= r =3D { .of_match_table =3D mpfs_sys_controller_of_match, }, .probe =3D mpfs_sys_controller_probe, - .remove_new =3D mpfs_sys_controller_remove, + .remove =3D mpfs_sys_controller_remove, }; module_platform_driver(mpfs_sys_controller_driver); =20 diff --git a/drivers/soc/pxa/ssp.c b/drivers/soc/pxa/ssp.c index 854d32e04558..bb0062c165fe 100644 --- a/drivers/soc/pxa/ssp.c +++ b/drivers/soc/pxa/ssp.c @@ -197,7 +197,7 @@ static const struct platform_device_id ssp_id_table[] = =3D { =20 static struct platform_driver pxa_ssp_driver =3D { .probe =3D pxa_ssp_probe, - .remove_new =3D pxa_ssp_remove, + .remove =3D pxa_ssp_remove, .driver =3D { .name =3D "pxa2xx-ssp", .of_match_table =3D of_match_ptr(pxa_ssp_of_ids), diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c index f9235bc3aa3b..3dfa448bf8cf 100644 --- a/drivers/soc/qcom/icc-bwmon.c +++ b/drivers/soc/qcom/icc-bwmon.c @@ -872,7 +872,7 @@ MODULE_DEVICE_TABLE(of, bwmon_of_match); =20 static struct platform_driver bwmon_driver =3D { .probe =3D bwmon_probe, - .remove_new =3D bwmon_remove, + .remove =3D bwmon_remove, .driver =3D { .name =3D "qcom-bwmon", .of_match_table =3D bwmon_of_match, diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index a470285f54a8..99fc6f7f35f0 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -3510,7 +3510,7 @@ static struct platform_driver qcom_llcc_driver =3D { .of_match_table =3D qcom_llcc_of_match, }, .probe =3D qcom_llcc_probe, - .remove_new =3D qcom_llcc_remove, + .remove =3D qcom_llcc_remove, }; module_platform_driver(qcom_llcc_driver); =20 diff --git a/drivers/soc/qcom/ocmem.c b/drivers/soc/qcom/ocmem.c index ff8df7d75d6b..9c3bd37b6579 100644 --- a/drivers/soc/qcom/ocmem.c +++ b/drivers/soc/qcom/ocmem.c @@ -439,7 +439,7 @@ MODULE_DEVICE_TABLE(of, ocmem_of_match); =20 static struct platform_driver ocmem_driver =3D { .probe =3D ocmem_dev_probe, - .remove_new =3D ocmem_dev_remove, + .remove =3D ocmem_dev_remove, .driver =3D { .name =3D "ocmem", .of_match_table =3D ocmem_of_match, diff --git a/drivers/soc/qcom/pmic_glink.c b/drivers/soc/qcom/pmic_glink.c index baa4ac6704a9..caf3f63d940e 100644 --- a/drivers/soc/qcom/pmic_glink.c +++ b/drivers/soc/qcom/pmic_glink.c @@ -399,7 +399,7 @@ MODULE_DEVICE_TABLE(of, pmic_glink_of_match); =20 static struct platform_driver pmic_glink_driver =3D { .probe =3D pmic_glink_probe, - .remove_new =3D pmic_glink_remove, + .remove =3D pmic_glink_remove, .driver =3D { .name =3D "qcom_pmic_glink", .of_match_table =3D pmic_glink_of_match, diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c index 60af26667bce..0320ad3b9148 100644 --- a/drivers/soc/qcom/qcom_aoss.c +++ b/drivers/soc/qcom/qcom_aoss.c @@ -664,7 +664,7 @@ static struct platform_driver qmp_driver =3D { .suppress_bind_attrs =3D true, }, .probe =3D qmp_probe, - .remove_new =3D qmp_remove, + .remove =3D qmp_remove, }; module_platform_driver(qmp_driver); =20 diff --git a/drivers/soc/qcom/qcom_gsbi.c b/drivers/soc/qcom/qcom_gsbi.c index f04b9a324ea9..8f1158e0c631 100644 --- a/drivers/soc/qcom/qcom_gsbi.c +++ b/drivers/soc/qcom/qcom_gsbi.c @@ -232,7 +232,7 @@ static struct platform_driver gsbi_driver =3D { .of_match_table =3D gsbi_dt_match, }, .probe =3D gsbi_probe, - .remove_new =3D gsbi_remove, + .remove =3D gsbi_remove, }; =20 module_platform_driver(gsbi_driver); diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c index c429d5154aae..5de99cf59b9f 100644 --- a/drivers/soc/qcom/qcom_stats.c +++ b/drivers/soc/qcom/qcom_stats.c @@ -274,7 +274,7 @@ MODULE_DEVICE_TABLE(of, qcom_stats_table); =20 static struct platform_driver qcom_stats =3D { .probe =3D qcom_stats_probe, - .remove_new =3D qcom_stats_remove, + .remove =3D qcom_stats_remove, .driver =3D { .name =3D "qcom_stats", .of_match_table =3D qcom_stats_table, diff --git a/drivers/soc/qcom/ramp_controller.c b/drivers/soc/qcom/ramp_con= troller.c index e9a0cca07189..349bdfbc61ef 100644 --- a/drivers/soc/qcom/ramp_controller.c +++ b/drivers/soc/qcom/ramp_controller.c @@ -331,8 +331,8 @@ static struct platform_driver qcom_ramp_controller_driv= er =3D { .of_match_table =3D qcom_ramp_controller_match_table, .suppress_bind_attrs =3D true, }, - .probe =3D qcom_ramp_controller_probe, - .remove_new =3D qcom_ramp_controller_remove, + .probe =3D qcom_ramp_controller_probe, + .remove =3D qcom_ramp_controller_remove, }; =20 static int __init qcom_ramp_controller_init(void) diff --git a/drivers/soc/qcom/rmtfs_mem.c b/drivers/soc/qcom/rmtfs_mem.c index df850d073102..33603b8fd8f3 100644 --- a/drivers/soc/qcom/rmtfs_mem.c +++ b/drivers/soc/qcom/rmtfs_mem.c @@ -315,7 +315,7 @@ MODULE_DEVICE_TABLE(of, qcom_rmtfs_mem_of_match); =20 static struct platform_driver qcom_rmtfs_mem_driver =3D { .probe =3D qcom_rmtfs_mem_probe, - .remove_new =3D qcom_rmtfs_mem_remove, + .remove =3D qcom_rmtfs_mem_remove, .driver =3D { .name =3D "qcom_rmtfs_mem", .of_match_table =3D qcom_rmtfs_mem_of_match, diff --git a/drivers/soc/qcom/rpm-proc.c b/drivers/soc/qcom/rpm-proc.c index 2995d9b90190..2466d0400c2e 100644 --- a/drivers/soc/qcom/rpm-proc.c +++ b/drivers/soc/qcom/rpm-proc.c @@ -53,7 +53,7 @@ MODULE_DEVICE_TABLE(of, rpm_proc_of_match); =20 static struct platform_driver rpm_proc_driver =3D { .probe =3D rpm_proc_probe, - .remove_new =3D rpm_proc_remove, + .remove =3D rpm_proc_remove, .driver =3D { .name =3D "qcom-rpm-proc", .of_match_table =3D rpm_proc_of_match, diff --git a/drivers/soc/qcom/rpm_master_stats.c b/drivers/soc/qcom/rpm_mas= ter_stats.c index 086fe4ba6707..49e4f9457279 100644 --- a/drivers/soc/qcom/rpm_master_stats.c +++ b/drivers/soc/qcom/rpm_master_stats.c @@ -155,7 +155,7 @@ static const struct of_device_id rpm_master_table[] =3D= { =20 static struct platform_driver master_stats_driver =3D { .probe =3D master_stats_probe, - .remove_new =3D master_stats_remove, + .remove =3D master_stats_remove, .driver =3D { .name =3D "qcom_rpm_master_stats", .of_match_table =3D rpm_master_table, diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index 0d1ccf3ef108..b8e9f5068ca1 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -1257,7 +1257,7 @@ MODULE_DEVICE_TABLE(of, qcom_smem_of_match); =20 static struct platform_driver qcom_smem_driver =3D { .probe =3D qcom_smem_probe, - .remove_new =3D qcom_smem_remove, + .remove =3D qcom_smem_remove, .driver =3D { .name =3D "qcom-smem", .of_match_table =3D qcom_smem_of_match, diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c index cefcbd61c628..9295a13ae996 100644 --- a/drivers/soc/qcom/smp2p.c +++ b/drivers/soc/qcom/smp2p.c @@ -698,7 +698,7 @@ MODULE_DEVICE_TABLE(of, qcom_smp2p_of_match); =20 static struct platform_driver qcom_smp2p_driver =3D { .probe =3D qcom_smp2p_probe, - .remove_new =3D qcom_smp2p_remove, + .remove =3D qcom_smp2p_remove, .driver =3D { .name =3D "qcom_smp2p", .of_match_table =3D qcom_smp2p_of_match, diff --git a/drivers/soc/qcom/smsm.c b/drivers/soc/qcom/smsm.c index ffe78ae34386..e803ea342c97 100644 --- a/drivers/soc/qcom/smsm.c +++ b/drivers/soc/qcom/smsm.c @@ -682,9 +682,9 @@ MODULE_DEVICE_TABLE(of, qcom_smsm_of_match); =20 static struct platform_driver qcom_smsm_driver =3D { .probe =3D qcom_smsm_probe, - .remove_new =3D qcom_smsm_remove, - .driver =3D { - .name =3D "qcom-smsm", + .remove =3D qcom_smsm_remove, + .driver =3D { + .name =3D "qcom-smsm", .of_match_table =3D qcom_smsm_of_match, }, }; diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 21ab8c699251..01a0bb71638b 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -825,7 +825,7 @@ static void qcom_socinfo_remove(struct platform_device = *pdev) =20 static struct platform_driver qcom_socinfo_driver =3D { .probe =3D qcom_socinfo_probe, - .remove_new =3D qcom_socinfo_remove, + .remove =3D qcom_socinfo_remove, .driver =3D { .name =3D "qcom-socinfo", }, diff --git a/drivers/soc/rockchip/io-domain.c b/drivers/soc/rockchip/io-dom= ain.c index fd9fd31f71c2..f94985a905c2 100644 --- a/drivers/soc/rockchip/io-domain.c +++ b/drivers/soc/rockchip/io-domain.c @@ -742,10 +742,10 @@ static void rockchip_iodomain_remove(struct platform_= device *pdev) } =20 static struct platform_driver rockchip_iodomain_driver =3D { - .probe =3D rockchip_iodomain_probe, - .remove_new =3D rockchip_iodomain_remove, - .driver =3D { - .name =3D "rockchip-iodomain", + .probe =3D rockchip_iodomain_probe, + .remove =3D rockchip_iodomain_remove, + .driver =3D { + .name =3D "rockchip-iodomain", .of_match_table =3D rockchip_iodomain_match, }, }; diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exyn= os-chipid.c index 23cc20896b85..e37dde1fb588 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -198,8 +198,8 @@ static struct platform_driver exynos_chipid_driver =3D { .name =3D "exynos-chipid", .of_match_table =3D exynos_chipid_of_device_ids, }, - .probe =3D exynos_chipid_probe, - .remove_new =3D exynos_chipid_remove, + .probe =3D exynos_chipid_probe, + .remove =3D exynos_chipid_remove, }; module_platform_driver(exynos_chipid_driver); =20 diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/t= egra194-cbb.c index 9cbc562ae7d3..846b17ffc2f9 100644 --- a/drivers/soc/tegra/cbb/tegra194-cbb.c +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c @@ -2330,7 +2330,7 @@ static const struct dev_pm_ops tegra194_cbb_pm =3D { =20 static struct platform_driver tegra194_cbb_driver =3D { .probe =3D tegra194_cbb_probe, - .remove_new =3D tegra194_cbb_remove, + .remove =3D tegra194_cbb_remove, .driver =3D { .name =3D "tegra194-cbb", .of_match_table =3D of_match_ptr(tegra194_cbb_match), diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index 8c0102968351..82a15cad1c6c 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -1562,7 +1562,7 @@ static void k3_ringacc_remove(struct platform_device = *pdev) =20 static struct platform_driver k3_ringacc_driver =3D { .probe =3D k3_ringacc_probe, - .remove_new =3D k3_ringacc_remove, + .remove =3D k3_ringacc_remove, .driver =3D { .name =3D "k3-ringacc", .of_match_table =3D k3_ringacc_of_match, diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c index fb0746d8caad..a25ebe6cd503 100644 --- a/drivers/soc/ti/knav_dma.c +++ b/drivers/soc/ti/knav_dma.c @@ -783,8 +783,8 @@ MODULE_DEVICE_TABLE(of, of_match); =20 static struct platform_driver knav_dma_driver =3D { .probe =3D knav_dma_probe, - .remove_new =3D knav_dma_remove, - .driver =3D { + .remove =3D knav_dma_remove, + .driver =3D { .name =3D "keystone-navigator-dma", .of_match_table =3D of_match, }, diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_qu= eue.c index b4051cb932c4..ea52425864a9 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -1892,7 +1892,7 @@ static void knav_queue_remove(struct platform_device = *pdev) =20 static struct platform_driver keystone_qmss_driver =3D { .probe =3D knav_queue_probe, - .remove_new =3D knav_queue_remove, + .remove =3D knav_queue_remove, .driver =3D { .name =3D "keystone-navigator-qmss", .of_match_table =3D keystone_qmss_of_match, diff --git a/drivers/soc/ti/pm33xx.c b/drivers/soc/ti/pm33xx.c index 8169885ab1e0..dfdff186c805 100644 --- a/drivers/soc/ti/pm33xx.c +++ b/drivers/soc/ti/pm33xx.c @@ -591,7 +591,7 @@ static struct platform_driver am33xx_pm_driver =3D { .name =3D "pm33xx", }, .probe =3D am33xx_pm_probe, - .remove_new =3D am33xx_pm_remove, + .remove =3D am33xx_pm_remove, }; module_platform_driver(am33xx_pm_driver); =20 diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index 3ec758f50e24..d7634bf5413a 100644 --- a/drivers/soc/ti/pruss.c +++ b/drivers/soc/ti/pruss.c @@ -593,8 +593,8 @@ static struct platform_driver pruss_driver =3D { .name =3D "pruss", .of_match_table =3D pruss_of_match, }, - .probe =3D pruss_probe, - .remove_new =3D pruss_remove, + .probe =3D pruss_probe, + .remove =3D pruss_remove, }; module_platform_driver(pruss_driver); =20 diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti/smartreflex.c index 38add2ab5613..ced3a73929e3 100644 --- a/drivers/soc/ti/smartreflex.c +++ b/drivers/soc/ti/smartreflex.c @@ -969,7 +969,7 @@ MODULE_DEVICE_TABLE(of, omap_sr_match); =20 static struct platform_driver smartreflex_driver =3D { .probe =3D omap_sr_probe, - .remove_new =3D omap_sr_remove, + .remove =3D omap_sr_remove, .shutdown =3D omap_sr_shutdown, .driver =3D { .name =3D DRIVER_NAME, diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c index 88f774db9208..79dde9a7ec63 100644 --- a/drivers/soc/ti/wkup_m3_ipc.c +++ b/drivers/soc/ti/wkup_m3_ipc.c @@ -755,7 +755,7 @@ MODULE_DEVICE_TABLE(of, wkup_m3_ipc_of_match); =20 static struct platform_driver wkup_m3_ipc_driver =3D { .probe =3D wkup_m3_ipc_probe, - .remove_new =3D wkup_m3_ipc_remove, + .remove =3D wkup_m3_ipc_remove, .driver =3D { .name =3D "wkup_m3_ipc", .of_match_table =3D wkup_m3_ipc_of_match, diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/x= lnx_event_manager.c index 85df6b9c04ee..a572d15f6161 100644 --- a/drivers/soc/xilinx/xlnx_event_manager.c +++ b/drivers/soc/xilinx/xlnx_event_manager.c @@ -711,7 +711,7 @@ static void xlnx_event_manager_remove(struct platform_d= evice *pdev) =20 static struct platform_driver xlnx_event_manager_driver =3D { .probe =3D xlnx_event_manager_probe, - .remove_new =3D xlnx_event_manager_remove, + .remove =3D xlnx_event_manager_remove, .driver =3D { .name =3D "xlnx_event_manager", }, diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_= power.c index 411d33f2fb05..ae59bf16659a 100644 --- a/drivers/soc/xilinx/zynqmp_power.c +++ b/drivers/soc/xilinx/zynqmp_power.c @@ -408,7 +408,7 @@ MODULE_DEVICE_TABLE(of, pm_of_match); =20 static struct platform_driver zynqmp_pm_platform_driver =3D { .probe =3D zynqmp_pm_probe, - .remove_new =3D zynqmp_pm_remove, + .remove =3D zynqmp_pm_remove, .driver =3D { .name =3D "zynqmp_power", .of_match_table =3D pm_of_match, base-commit: 6fb2fa9805c501d9ade047fc511961f3273cdcb5 --=20 2.45.2