summaryrefslogtreecommitdiff
path: root/drivers/phy/intel
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-10-09 08:53:07 +0200
committerVinod Koul <vkoul@kernel.org>2024-10-17 20:33:03 +0530
commit54234e3a69324c900715ccd8e0e17e7eb1bb47cd (patch)
tree72a03c6564bb44cfaf7e56d452a45c38fc1f48cc /drivers/phy/intel
parent2ac03d0811b94c2397d5ec3c82a65a112aeab5b0 (diff)
downloadlinux-next-54234e3a69324c900715ccd8e0e17e7eb1bb47cd.tar.gz
linux-next-54234e3a69324c900715ccd8e0e17e7eb1bb47cd.zip
phy: 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/phy/ 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. While touching these files, make indention of the struct initializer consistent in several files. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/20241009065307.504930-2-u.kleine-koenig@baylibre.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/intel')
-rw-r--r--drivers/phy/intel/phy-intel-lgm-combo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/intel/phy-intel-lgm-combo.c b/drivers/phy/intel/phy-intel-lgm-combo.c
index f8e3054a9e59..9ee3cf61cdd0 100644
--- a/drivers/phy/intel/phy-intel-lgm-combo.c
+++ b/drivers/phy/intel/phy-intel-lgm-combo.c
@@ -605,7 +605,7 @@ static const struct of_device_id of_intel_cbphy_match[] = {
static struct platform_driver intel_cbphy_driver = {
.probe = intel_cbphy_probe,
- .remove_new = intel_cbphy_remove,
+ .remove = intel_cbphy_remove,
.driver = {
.name = "intel-combo-phy",
.of_match_table = of_intel_cbphy_match,