Skip to contentSkip to conversation

i2c: remove CONFIG_HOTPLUG ifdefs

PATCH In review Bill Pemberton 57 participants 446 messages Nov 19, 2012 – Jan 3, 2013 13 messages not in the archive Page 1 of 11

Subsystems (384)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1353349642-3677-1-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/[email protected]

#2 lore raw

PATCH 2/493 i2c: remove CONFIG_HOTPLUG ifdefs

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/i2c/i2c-core.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/i2c/i2c-core.c +0 -7
index a7edf98..9cebac0 100644
@@ -86,9 +86,6 @@ static int i2c_device_match(struct device *dev, struct device_driver *drv)
 	return 0;
 }
 
-#ifdef	CONFIG_HOTPLUG
-
-/* uevent helps with hotplug: modprobe -q $(MODALIAS) */
 static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
 	struct i2c_client	*client = to_i2c_client(dev);
@@ -100,10 +97,6 @@ static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 	return 0;
 }
 
-#else
-#define i2c_device_uevent	NULL
-#endif	/* CONFIG_HOTPLUG */
-
 static int i2c_device_probe(struct device *dev)
 {
 	struct i2c_client	*client = i2c_verify_client(dev);
Signature · 1 line
1.8.0

A message that is not in the archive (sent off-list or not yet received): 1353349642-3677-2-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/[email protected]

#4 lore raw
Quoted 16 lines · Bill Pemberton

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/i2c/i2c-core.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/i2c/i2c-core.c +0 -0
index a7edf98..9cebac0 100644

drivers/i2c/i2c-core.c static int i2c_device_match(struct device *dev, struct device_driver *drv) · line 91

Quoted 6 lines
drivers/i2c/i2c-core.c +0 -3
@@ -86,9 +86,6 @@ static int i2c_device_match(struct device *dev, struct device_driver *drv)
 	return 0;
 }
 
-#ifdef	CONFIG_HOTPLUG
-
-/* uevent helps with hotplug: modprobe -q $(MODALIAS) */

What was wrong with this comment?

Quoted 14 lines
drivers/i2c/i2c-core.c +0 -4
 static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
 	struct i2c_client	*client = to_i2c_client(dev);
@@ -100,10 +97,6 @@ static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 	return 0;
 }
 
-#else
-#define i2c_device_uevent	NULL
-#endif	/* CONFIG_HOTPLUG */
-
 static int i2c_device_probe(struct device *dev)
 {
 	struct i2c_client	*client = i2c_verify_client(dev);
Signature · 1 line
Jean Delvare

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 21 lines · Jean Delvare
Quoted 19 lines · Bill Pemberton

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/i2c/i2c-core.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/i2c/i2c-core.c +0 -0
index a7edf98..9cebac0 100644
@@ -86,9 +86,6 @@ static int i2c_device_match(struct device *dev, struct device_driver *drv)
 	return 0;
 }
 
Quoted 6 lines

drivers/i2c/i2c-core.c static int i2c_device_match(struct device *dev, struct device_driver *drv) · line 91

Quoted 3 lines
drivers/i2c/i2c-core.c +0 -3
-#ifdef	CONFIG_HOTPLUG
-
-/* uevent helps with hotplug: modprobe -q $(MODALIAS) */

What was wrong with this comment?

It was removed with the #ifdef, I see that's in error, I'll redo this one.

Signature · 1 line
Bill
#7 lore raw

PATCH 68/493 infiniband: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/infiniband/hw/amso1100/c2.c        | 2 +-
 drivers/infiniband/hw/ipath/ipath_driver.c | 2 +-
 drivers/infiniband/hw/mthca/mthca_main.c   | 2 +-
 drivers/infiniband/hw/nes/nes.c            | 2 +-
 drivers/infiniband/hw/qib/qib_init.c       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/infiniband/hw/amso1100/c2.c +1 -1
index 5ce7b9e..60cd99e 100644
@@ -1236,7 +1236,7 @@ static struct pci_driver c2_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = c2_pci_table,
 	.probe = c2_probe,
-	.remove = __devexit_p(c2_remove),
+	.remove = c2_remove,
 };
 
 static int __init c2_init_module(void)
drivers/infiniband/hw/ipath/ipath_driver.c +1 -1
index bfca37b..eb3d422 100644
@@ -148,7 +148,7 @@ MODULE_DEVICE_TABLE(pci, ipath_pci_tbl);
 static struct pci_driver ipath_driver = {
 	.name = IPATH_DRV_NAME,
 	.probe = ipath_init_one,
-	.remove = __devexit_p(ipath_remove_one),
+	.remove = ipath_remove_one,
 	.id_table = ipath_pci_tbl,
 	.driver = {
 		.groups = ipath_driver_attr_groups,
drivers/infiniband/hw/mthca/mthca_main.c +1 -1
index aa12a53..4dda1dd 100644
@@ -1199,7 +1199,7 @@ static struct pci_driver mthca_driver = {
 	.name		= DRV_NAME,
 	.id_table	= mthca_pci_table,
 	.probe		= mthca_init_one,
-	.remove		= __devexit_p(mthca_remove_one)
+	.remove		= mthca_remove_one
 };
 
 static void __init __mthca_check_profile_val(const char *name, int *pval,
drivers/infiniband/hw/nes/nes.c +1 -1
index 748db2d..cc15f3f 100644
@@ -810,7 +810,7 @@ static struct pci_driver nes_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = nes_pci_table,
 	.probe = nes_probe,
-	.remove = __devexit_p(nes_remove),
+	.remove = nes_remove,
 };
 
 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf)
drivers/infiniband/hw/qib/qib_init.c +1 -1
index 4443adf..a7de247 100644
@@ -1153,7 +1153,7 @@ MODULE_DEVICE_TABLE(pci, qib_pci_tbl);
 struct pci_driver qib_driver = {
 	.name = QIB_DRV_NAME,
 	.probe = qib_init_one,
-	.remove = __devexit_p(qib_remove_one),
+	.remove = qib_remove_one,
 	.id_table = qib_pci_tbl,
 	.err_handler = &qib_pci_err_handler,
 };
Signature · 6 lines
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw

PATCH 85/493 net/wireless: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc "John W. Linville" <[email protected]>
Cc Jiri Slaby <[email protected]>
Cc Nick Kossifidis <[email protected]>
Cc "Luis R. Rodriguez" <[email protected]>
Cc Simon Kelley <[email protected]>
Cc Stefano Brivio <[email protected]>
Cc Stanislav Yakovlev <[email protected]>
Cc Dan Williams <[email protected]>
Cc Christian Lamparter <[email protected]>
Cc Ivo van Doorn <[email protected]>
Cc Gertjan van Wingerde <[email protected]>
Cc Helmut Schaa <[email protected]>
Cc Herton Ronaldo Krzesinski <[email protected]>
Cc Hin-Tak Leung <[email protected]>
Cc Larry Finger <[email protected]>
Cc Luciano Coelho <[email protected]>
Cc linux-wireless at vger.kernel.org
Cc netdev at vger.kernel.org
Cc ath5k-devel at lists.ath5k.org
Cc b43-dev at lists.infradead.org
Cc brcm80211-dev-list at broadcom.com
Cc libertas-dev at lists.infradead.org
Cc users at rt2x00.serialmonkey.com
---
 drivers/net/wireless/adm8211.c                        | 2 +-
 drivers/net/wireless/airo.c                           | 2 +-
 drivers/net/wireless/ath/ath5k/pci.c                  | 2 +-
 drivers/net/wireless/atmel_pci.c                      | 2 +-
 drivers/net/wireless/b43/pcmcia.c                     | 2 +-
 drivers/net/wireless/b43/sdio.c                       | 2 +-
 drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 2 +-
 drivers/net/wireless/ipw2x00/ipw2100.c                | 2 +-
 drivers/net/wireless/ipw2x00/ipw2200.c                | 2 +-
 drivers/net/wireless/iwlegacy/3945-mac.c              | 2 +-
 drivers/net/wireless/iwlegacy/4965-mac.c              | 2 +-
 drivers/net/wireless/iwlwifi/pcie/drv.c               | 2 +-
 drivers/net/wireless/libertas/if_spi.c                | 2 +-
 drivers/net/wireless/mwl8k.c                          | 4 ++--
 drivers/net/wireless/orinoco/orinoco_nortel.c         | 2 +-
 drivers/net/wireless/orinoco/orinoco_pci.c            | 2 +-
 drivers/net/wireless/orinoco/orinoco_plx.c            | 2 +-
 drivers/net/wireless/orinoco/orinoco_tmd.c            | 2 +-
 drivers/net/wireless/p54/p54pci.c                     | 2 +-
 drivers/net/wireless/p54/p54spi.c                     | 2 +-
 drivers/net/wireless/p54/p54usb.c                     | 2 +-
 drivers/net/wireless/rt2x00/rt2400pci.c               | 2 +-
 drivers/net/wireless/rt2x00/rt2500pci.c               | 2 +-
 drivers/net/wireless/rt2x00/rt2800pci.c               | 4 ++--
 drivers/net/wireless/rt2x00/rt61pci.c                 | 2 +-
 drivers/net/wireless/rtl818x/rtl8180/dev.c            | 2 +-
 drivers/net/wireless/rtl818x/rtl8187/dev.c            | 2 +-
 drivers/net/wireless/ti/wl1251/sdio.c                 | 2 +-
 drivers/net/wireless/ti/wl1251/spi.c                  | 2 +-
 drivers/net/wireless/ti/wl12xx/main.c                 | 2 +-
 drivers/net/wireless/ti/wl18xx/main.c                 | 2 +-
 drivers/net/wireless/ti/wlcore/sdio.c                 | 2 +-
 drivers/net/wireless/ti/wlcore/spi.c                  | 2 +-
 33 files changed, 35 insertions(+), 35 deletions(-)
drivers/net/wireless/adm8211.c +1 -1
index 154a496..a05bac2 100644
@@ -1985,7 +1985,7 @@ static struct pci_driver adm8211_driver = {
 	.name		= "adm8211",
 	.id_table	= adm8211_pci_id_table,
 	.probe		= adm8211_probe,
-	.remove		= __devexit_p(adm8211_remove),
+	.remove		= adm8211_remove,
 #ifdef CONFIG_PM
 	.suspend	= adm8211_suspend,
 	.resume		= adm8211_resume,
drivers/net/wireless/airo.c +1 -1
index 57f7db1..af1096b 100644
@@ -78,7 +78,7 @@ static struct pci_driver airo_driver = {
 	.name     = DRV_NAME,
 	.id_table = card_ids,
 	.probe    = airo_pci_probe,
-	.remove   = __devexit_p(airo_pci_remove),
+	.remove   = airo_pci_remove,
 	.suspend  = airo_pci_suspend,
 	.resume   = airo_pci_resume,
 };
drivers/net/wireless/ath/ath5k/pci.c +1 -1
index dff48fb..c3ba483 100644
@@ -336,7 +336,7 @@ static struct pci_driver ath5k_pci_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= ath5k_pci_id_table,
 	.probe		= ath5k_pci_probe,
-	.remove		= __devexit_p(ath5k_pci_remove),
+	.remove		= ath5k_pci_remove,
 	.driver.pm	= ATH5K_PM_OPS,
 };
 
drivers/net/wireless/atmel_pci.c +1 -1
index 51e33b5..fbe6580 100644
@@ -45,7 +45,7 @@ static struct pci_driver atmel_driver = {
 	.name     = "atmel",
 	.id_table = card_ids,
 	.probe    = atmel_pci_probe,
-	.remove   = __devexit_p(atmel_pci_remove),
+	.remove   = atmel_pci_remove,
 };
 
 
drivers/net/wireless/b43/pcmcia.c +1 -1
index 714cad6..3477213 100644
@@ -125,7 +125,7 @@ static struct pcmcia_driver b43_pcmcia_driver = {
 	.name		= "b43-pcmcia",
 	.id_table	= b43_pcmcia_tbl,
 	.probe		= b43_pcmcia_probe,
-	.remove		= __devexit_p(b43_pcmcia_remove),
+	.remove		= b43_pcmcia_remove,
 	.suspend	= b43_pcmcia_suspend,
 	.resume		= b43_pcmcia_resume,
 };
drivers/net/wireless/b43/sdio.c +1 -1
index a54fb2d..80b0755 100644
@@ -193,7 +193,7 @@ static struct sdio_driver b43_sdio_driver = {
 	.name		= "b43-sdio",
 	.id_table	= b43_sdio_ids,
 	.probe		= b43_sdio_probe,
-	.remove		= __devexit_p(b43_sdio_remove),
+	.remove		= b43_sdio_remove,
 };
 
 int b43_sdio_init(void)
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c +1 -1
index a744ea5..cdd5aa2 100644
@@ -1160,7 +1160,7 @@ static struct bcma_driver brcms_bcma_driver = {
 	.probe    = brcms_bcma_probe,
 	.suspend  = brcms_suspend,
 	.resume   = brcms_resume,
-	.remove   = __devexit_p(brcms_remove),
+	.remove   = brcms_remove,
 	.id_table = brcms_coreid_table,
 };
 
drivers/net/wireless/ipw2x00/ipw2100.c +1 -1
index 29b8fa1..b96c615 100644
@@ -6609,7 +6609,7 @@ static struct pci_driver ipw2100_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = ipw2100_pci_id_table,
 	.probe = ipw2100_pci_init_one,
-	.remove = __devexit_p(ipw2100_pci_remove_one),
+	.remove = ipw2100_pci_remove_one,
 #ifdef CONFIG_PM
 	.suspend = ipw2100_suspend,
 	.resume = ipw2100_resume,
drivers/net/wireless/ipw2x00/ipw2200.c +1 -1
index 768bf61..b809b99 100644
@@ -12057,7 +12057,7 @@ static struct pci_driver ipw_driver = {
 	.name = DRV_NAME,
 	.id_table = card_ids,
 	.probe = ipw_pci_probe,
-	.remove = __devexit_p(ipw_pci_remove),
+	.remove = ipw_pci_remove,
 #ifdef CONFIG_PM
 	.suspend = ipw_pci_suspend,
 	.resume = ipw_pci_resume,
drivers/net/wireless/iwlegacy/3945-mac.c +1 -1
index e252acb..88fdd39 100644
@@ -3884,7 +3884,7 @@ static struct pci_driver il3945_driver = {
 	.name = DRV_NAME,
 	.id_table = il3945_hw_card_ids,
 	.probe = il3945_pci_probe,
-	.remove = __devexit_p(il3945_pci_remove),
+	.remove = il3945_pci_remove,
 	.driver.pm = IL_LEGACY_PM_OPS,
 };
 
drivers/net/wireless/iwlegacy/4965-mac.c +1 -1
index eac4dc8..14e0a94 100644
@@ -6772,7 +6772,7 @@ static struct pci_driver il4965_driver = {
 	.name = DRV_NAME,
 	.id_table = il4965_hw_card_ids,
 	.probe = il4965_pci_probe,
-	.remove = __devexit_p(il4965_pci_remove),
+	.remove = il4965_pci_remove,
 	.driver.pm = IL_LEGACY_PM_OPS,
 };
 
drivers/net/wireless/iwlwifi/pcie/drv.c +1 -1
index 2a46753..7cb27af 100644
@@ -353,7 +353,7 @@ static struct pci_driver iwl_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = iwl_hw_card_ids,
 	.probe = iwl_pci_probe,
-	.remove = __devexit_p(iwl_pci_remove),
+	.remove = iwl_pci_remove,
 	.driver.pm = IWL_PM_OPS,
 };
 
drivers/net/wireless/libertas/if_spi.c +1 -1
index 9604a1c..98cccc7 100644
@@ -1285,7 +1285,7 @@ static const struct dev_pm_ops if_spi_pm_ops = {
 
 static struct spi_driver libertas_spi_driver = {
 	.probe	= if_spi_probe,
-	.remove = __devexit_p(libertas_spi_remove),
+	.remove = libertas_spi_remove,
 	.driver = {
 		.name	= "libertas_spi",
 		.owner	= THIS_MODULE,
drivers/net/wireless/mwl8k.c +2 -2
index 3db4950..c26cfaa 100644
@@ -5929,8 +5929,8 @@ static struct pci_driver mwl8k_driver = {
 	.name		= MWL8K_NAME,
 	.id_table	= mwl8k_pci_id_table,
 	.probe		= mwl8k_probe,
-	.remove		= __devexit_p(mwl8k_remove),
-	.shutdown	= __devexit_p(mwl8k_shutdown),
+	.remove		= mwl8k_remove,
+	.shutdown	= mwl8k_shutdown,
 };
 
 module_pci_driver(mwl8k_driver);
drivers/net/wireless/orinoco/orinoco_nortel.c +1 -1
index 326396b..f286540 100644
@@ -288,7 +288,7 @@ static struct pci_driver orinoco_nortel_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= orinoco_nortel_id_table,
 	.probe		= orinoco_nortel_init_one,
-	.remove		= __devexit_p(orinoco_nortel_remove_one),
+	.remove		= orinoco_nortel_remove_one,
 	.suspend	= orinoco_pci_suspend,
 	.resume		= orinoco_pci_resume,
 };
drivers/net/wireless/orinoco/orinoco_pci.c +1 -1
index 6058c66..bf6d436 100644
@@ -228,7 +228,7 @@ static struct pci_driver orinoco_pci_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= orinoco_pci_id_table,
 	.probe		= orinoco_pci_init_one,
-	.remove		= __devexit_p(orinoco_pci_remove_one),
+	.remove		= orinoco_pci_remove_one,
 	.suspend	= orinoco_pci_suspend,
 	.resume		= orinoco_pci_resume,
 };
drivers/net/wireless/orinoco/orinoco_plx.c +1 -1
index 2bac824..63a614f 100644
@@ -334,7 +334,7 @@ static struct pci_driver orinoco_plx_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= orinoco_plx_id_table,
 	.probe		= orinoco_plx_init_one,
-	.remove		= __devexit_p(orinoco_plx_remove_one),
+	.remove		= orinoco_plx_remove_one,
 	.suspend	= orinoco_pci_suspend,
 	.resume		= orinoco_pci_resume,
 };
drivers/net/wireless/orinoco/orinoco_tmd.c +1 -1
index 93159d6..f67f43e 100644
@@ -214,7 +214,7 @@ static struct pci_driver orinoco_tmd_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= orinoco_tmd_id_table,
 	.probe		= orinoco_tmd_init_one,
-	.remove		= __devexit_p(orinoco_tmd_remove_one),
+	.remove		= orinoco_tmd_remove_one,
 	.suspend	= orinoco_pci_suspend,
 	.resume		= orinoco_pci_resume,
 };
drivers/net/wireless/p54/p54pci.c +1 -1
index b439079..b382469 100644
@@ -699,7 +699,7 @@ static struct pci_driver p54p_driver = {
 	.name		= "p54pci",
 	.id_table	= p54p_table,
 	.probe		= p54p_probe,
-	.remove		= __devexit_p(p54p_remove),
+	.remove		= p54p_remove,
 	.driver.pm	= P54P_PM_OPS,
 };
 
drivers/net/wireless/p54/p54spi.c +1 -1
index f792990..51129f4 100644
@@ -710,7 +710,7 @@ static struct spi_driver p54spi_driver = {
 	},
 
 	.probe		= p54spi_probe,
-	.remove		= __devexit_p(p54spi_remove),
+	.remove		= p54spi_remove,
 };
 
 static int __init p54spi_init(void)
drivers/net/wireless/p54/p54usb.c +1 -1
index effb044..0463ac2 100644
@@ -1131,7 +1131,7 @@ static struct usb_driver p54u_driver = {
 	.name	= "p54usb",
 	.id_table = p54u_table,
 	.probe = p54u_probe,
-	.disconnect = __devexit_p(p54u_disconnect),
+	.disconnect = p54u_disconnect,
 	.pre_reset = p54u_pre_reset,
 	.post_reset = p54u_post_reset,
 #ifdef CONFIG_PM
drivers/net/wireless/rt2x00/rt2400pci.c +1 -1
index e3a2d90..a2d2bc2 100644
@@ -1831,7 +1831,7 @@ static struct pci_driver rt2400pci_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rt2400pci_device_table,
 	.probe		= rt2400pci_probe,
-	.remove		= __devexit_p(rt2x00pci_remove),
+	.remove		= rt2x00pci_remove,
 	.suspend	= rt2x00pci_suspend,
 	.resume		= rt2x00pci_resume,
 };
drivers/net/wireless/rt2x00/rt2500pci.c +1 -1
index 479d756..9bea10f 100644
@@ -2122,7 +2122,7 @@ static struct pci_driver rt2500pci_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rt2500pci_device_table,
 	.probe		= rt2500pci_probe,
-	.remove		= __devexit_p(rt2x00pci_remove),
+	.remove		= rt2x00pci_remove,
 	.suspend	= rt2x00pci_suspend,
 	.resume		= rt2x00pci_resume,
 };
drivers/net/wireless/rt2x00/rt2800pci.c +2 -2
index 27829e1..9224d87 100644
@@ -1176,7 +1176,7 @@ static struct platform_driver rt2800soc_driver = {
 		.mod_name	= KBUILD_MODNAME,
 	},
 	.probe		= rt2800soc_probe,
-	.remove		= __devexit_p(rt2x00soc_remove),
+	.remove		= rt2x00soc_remove,
 	.suspend	= rt2x00soc_suspend,
 	.resume		= rt2x00soc_resume,
 };
@@ -1193,7 +1193,7 @@ static struct pci_driver rt2800pci_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rt2800pci_device_table,
 	.probe		= rt2800pci_probe,
-	.remove		= __devexit_p(rt2x00pci_remove),
+	.remove		= rt2x00pci_remove,
 	.suspend	= rt2x00pci_suspend,
 	.resume		= rt2x00pci_resume,
 };
drivers/net/wireless/rt2x00/rt61pci.c +1 -1
index d6582a2..f95792c 100644
@@ -3094,7 +3094,7 @@ static struct pci_driver rt61pci_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rt61pci_device_table,
 	.probe		= rt61pci_probe,
-	.remove		= __devexit_p(rt2x00pci_remove),
+	.remove		= rt2x00pci_remove,
 	.suspend	= rt2x00pci_suspend,
 	.resume		= rt2x00pci_resume,
 };
drivers/net/wireless/rtl818x/rtl8180/dev.c +1 -1
index 021d83e..b117541 100644
@@ -1170,7 +1170,7 @@ static struct pci_driver rtl8180_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rtl8180_table,
 	.probe		= rtl8180_probe,
-	.remove		= __devexit_p(rtl8180_remove),
+	.remove		= rtl8180_remove,
 #ifdef CONFIG_PM
 	.suspend	= rtl8180_suspend,
 	.resume		= rtl8180_resume,
drivers/net/wireless/rtl818x/rtl8187/dev.c +1 -1
index 7811b63..9892310 100644
@@ -1664,7 +1664,7 @@ static struct usb_driver rtl8187_driver = {
 	.name		= KBUILD_MODNAME,
 	.id_table	= rtl8187_table,
 	.probe		= rtl8187_probe,
-	.disconnect	= __devexit_p(rtl8187_disconnect),
+	.disconnect	= rtl8187_disconnect,
 	.disable_hub_initiated_lpm = 1,
 };
 
drivers/net/wireless/ti/wl1251/sdio.c +1 -1
index e2750a1..e3f287f 100644
@@ -347,7 +347,7 @@ static struct sdio_driver wl1251_sdio_driver = {
 	.name		= "wl1251_sdio",
 	.id_table	= wl1251_devices,
 	.probe		= wl1251_sdio_probe,
-	.remove		= __devexit_p(wl1251_sdio_remove),
+	.remove		= wl1251_sdio_remove,
 	.drv.pm		= &wl1251_sdio_pm_ops,
 };
 
drivers/net/wireless/ti/wl1251/spi.c +1 -1
index 567660c..3ec61b9 100644
@@ -326,7 +326,7 @@ static struct spi_driver wl1251_spi_driver = {
 	},
 
 	.probe		= wl1251_spi_probe,
-	.remove		= __devexit_p(wl1251_spi_remove),
+	.remove		= wl1251_spi_remove,
 };
 
 static int __init wl1251_spi_init(void)
drivers/net/wireless/ti/wl12xx/main.c +1 -1
index dadf1db..bc522b6 100644
@@ -1733,7 +1733,7 @@ MODULE_DEVICE_TABLE(platform, wl12xx_id_table);
 
 static struct platform_driver wl12xx_driver = {
 	.probe		= wl12xx_probe,
-	.remove		= __devexit_p(wlcore_remove),
+	.remove		= wlcore_remove,
 	.id_table	= wl12xx_id_table,
 	.driver = {
 		.name	= "wl12xx_driver",
drivers/net/wireless/ti/wl18xx/main.c +1 -1
index a39682a..2d037d5 100644
@@ -1536,7 +1536,7 @@ MODULE_DEVICE_TABLE(platform, wl18xx_id_table);
 
 static struct platform_driver wl18xx_driver = {
 	.probe		= wl18xx_probe,
-	.remove		= __devexit_p(wlcore_remove),
+	.remove		= wlcore_remove,
 	.id_table	= wl18xx_id_table,
 	.driver = {
 		.name	= "wl18xx_driver",
drivers/net/wireless/ti/wlcore/sdio.c +1 -1
index 73ace4b..830bf0d 100644
@@ -384,7 +384,7 @@ static struct sdio_driver wl1271_sdio_driver = {
 	.name		= "wl1271_sdio",
 	.id_table	= wl1271_devices,
 	.probe		= wl1271_probe,
-	.remove		= __devexit_p(wl1271_remove),
+	.remove		= wl1271_remove,
 #ifdef CONFIG_PM
 	.drv = {
 		.pm = &wl1271_sdio_pm_ops,
drivers/net/wireless/ti/wlcore/spi.c +1 -1
index a519bc3..b183001 100644
@@ -422,7 +422,7 @@ static struct spi_driver wl1271_spi_driver = {
 	},
 
 	.probe		= wl1271_probe,
-	.remove		= __devexit_p(wl1271_remove),
+	.remove		= wl1271_remove,
 };
 
 static int __init wl1271_init(void)
Signature · 1 line
1.8.0
Acked-by on v1 85/493
#9 lore raw

Re: [PATCH 085/493] net/wireless: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Quoted 4 lines
Cc brcm80211-dev-list at broadcom.com
  drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 2 +-

For this part of the patch obviously.

Gr. AvS

Acked-by on v1 85/493
#10 lore raw

Re: [PATCH 085/493] net/wireless: remove use of __devexit_p

In reply to Bill Pemberton
Quoted 44 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an
option so __devexit_p is no longer
needed.

Cc "John W. Linville" <[email protected]>
Cc Jiri Slaby <[email protected]>
Cc Nick Kossifidis <[email protected]>
Cc "Luis R. Rodriguez" <[email protected]>
Cc Simon Kelley <[email protected]>
Cc Stefano Brivio <[email protected]>
Cc Stanislav Yakovlev <[email protected]>
Cc Dan Williams <[email protected]>
Cc Christian Lamparter <[email protected]>
Cc Ivo van Doorn <[email protected]>
Cc Gertjan van Wingerde <[email protected]>
Cc Helmut Schaa <[email protected]>
Cc Herton Ronaldo Krzesinski <[email protected]>
Cc Hin-Tak Leung <[email protected]>
Cc Larry Finger <[email protected]>
Quoted 7 lines

---

The rtl818x parts.

#11 lore raw

PATCH 126/493 rfkill: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Johannes Berg <[email protected]>
Cc "John W. Linville" <[email protected]>
Cc "David S. Miller" <davem-fT/PcQaiUtIeIZ0/[email protected]>
---
 net/rfkill/rfkill-gpio.c      | 2 +-
 net/rfkill/rfkill-regulator.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
net/rfkill/rfkill-gpio.c +1 -1
index 865adb6..78fc093 100644
@@ -213,7 +213,7 @@ static int rfkill_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver rfkill_gpio_driver = {
 	.probe = rfkill_gpio_probe,
-	.remove = __devexit_p(rfkill_gpio_remove),
+	.remove = rfkill_gpio_remove,
 	.driver = {
 		   .name = "rfkill_gpio",
 		   .owner = THIS_MODULE,
net/rfkill/rfkill-regulator.c +1 -1
index 11da301..a87710d 100644
@@ -137,7 +137,7 @@ static int __devexit rfkill_regulator_remove(struct platform_device *pdev)
 
 static struct platform_driver rfkill_regulator_driver = {
 	.probe = rfkill_regulator_probe,
-	.remove = __devexit_p(rfkill_regulator_remove),
+	.remove = rfkill_regulator_remove,
 	.driver = {
 		.name = "rfkill-regulator",
 		.owner = THIS_MODULE,
Signature · 6 lines
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#12 lore raw

PATCH 134/493 drivers/misc: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/misc/ad525x_dpot-i2c.c         | 2 +-
 drivers/misc/ad525x_dpot-spi.c         | 2 +-
 drivers/misc/apds9802als.c             | 2 +-
 drivers/misc/apds990x.c                | 2 +-
 drivers/misc/atmel-ssc.c               | 2 +-
 drivers/misc/bh1770glc.c               | 2 +-
 drivers/misc/bh1780gli.c               | 2 +-
 drivers/misc/bmp085-i2c.c              | 2 +-
 drivers/misc/bmp085-spi.c              | 2 +-
 drivers/misc/cb710/core.c              | 2 +-
 drivers/misc/eeprom/at24.c             | 2 +-
 drivers/misc/eeprom/at25.c             | 2 +-
 drivers/misc/eeprom/eeprom_93xx46.c    | 2 +-
 drivers/misc/fsa9480.c                 | 2 +-
 drivers/misc/hpilo.c                   | 2 +-
 drivers/misc/ibmasm/module.c           | 2 +-
 drivers/misc/ioc4.c                    | 2 +-
 drivers/misc/isl29003.c                | 2 +-
 drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 +-
 drivers/misc/lis3lv02d/lis3lv02d_spi.c | 2 +-
 drivers/misc/pch_phub.c                | 2 +-
 drivers/misc/phantom.c                 | 2 +-
 drivers/misc/pti.c                     | 2 +-
 drivers/misc/ti_dac7512.c              | 2 +-
 drivers/misc/tsl2550.c                 | 2 +-
 25 files changed, 25 insertions(+), 25 deletions(-)
drivers/misc/ad525x_dpot-i2c.c +1 -1
index 8208262..7254a98 100644
@@ -109,7 +109,7 @@ static struct i2c_driver ad_dpot_i2c_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad_dpot_i2c_probe,
-	.remove		= __devexit_p(ad_dpot_i2c_remove),
+	.remove		= ad_dpot_i2c_remove,
 	.id_table	= ad_dpot_id,
 };
 
drivers/misc/ad525x_dpot-spi.c +1 -1
index f623175..67e3073 100644
@@ -131,7 +131,7 @@ static struct spi_driver ad_dpot_spi_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad_dpot_spi_probe,
-	.remove		= __devexit_p(ad_dpot_spi_remove),
+	.remove		= ad_dpot_spi_remove,
 	.id_table	= ad_dpot_spi_id,
 };
 
drivers/misc/apds9802als.c +1 -1
index 0314773..77f7cdc 100644
@@ -326,7 +326,7 @@ static struct i2c_driver apds9802als_driver = {
 		.pm = APDS9802ALS_PM_OPS,
 	},
 	.probe = apds9802als_probe,
-	.remove = __devexit_p(apds9802als_remove),
+	.remove = apds9802als_remove,
 	.suspend = apds9802als_suspend,
 	.resume = apds9802als_resume,
 	.id_table = apds9802als_id,
drivers/misc/apds990x.c +1 -1
index ee74244..f955d54 100644
@@ -1275,7 +1275,7 @@ static struct i2c_driver apds990x_driver = {
 		.pm	= &apds990x_pm_ops,
 	},
 	.probe	  = apds990x_probe,
-	.remove	  = __devexit_p(apds990x_remove),
+	.remove	  = apds990x_remove,
 	.id_table = apds990x_id,
 };
 
drivers/misc/atmel-ssc.c +1 -1
index a769719..bce3676 100644
@@ -206,7 +206,7 @@ static struct platform_driver ssc_driver = {
 	},
 	.id_table	= atmel_ssc_devtypes,
 	.probe		= ssc_probe,
-	.remove		= __devexit_p(ssc_remove),
+	.remove		= ssc_remove,
 };
 module_platform_driver(ssc_driver);
 
drivers/misc/bh1770glc.c +1 -1
index 3d56ae7..c4b65e2 100644
@@ -1395,7 +1395,7 @@ static struct i2c_driver bh1770_driver = {
 		.pm	= &bh1770_pm_ops,
 	},
 	.probe	  = bh1770_probe,
-	.remove	  = __devexit_p(bh1770_remove),
+	.remove	  = bh1770_remove,
 	.id_table = bh1770_id,
 };
 
drivers/misc/bh1780gli.c +1 -1
index f1f9877..54f6f39 100644
@@ -248,7 +248,7 @@ static const struct i2c_device_id bh1780_id[] = {
 
 static struct i2c_driver bh1780_driver = {
 	.probe		= bh1780_probe,
-	.remove		= __devexit_p(bh1780_remove),
+	.remove		= bh1780_remove,
 	.id_table	= bh1780_id,
 	.driver = {
 		.name = "bh1780",
drivers/misc/bmp085-i2c.c +1 -1
index a4f33c9..08cd795 100644
@@ -71,7 +71,7 @@ static struct i2c_driver bmp085_i2c_driver = {
 	},
 	.id_table	= bmp085_id,
 	.probe		= bmp085_i2c_probe,
-	.remove		= __devexit_p(bmp085_i2c_remove),
+	.remove		= bmp085_i2c_remove,
 
 	.detect		= bmp085_i2c_detect,
 	.address_list	= normal_i2c
drivers/misc/bmp085-spi.c +1 -1
index 5e982af..ed34885 100644
@@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
 	},
 	.id_table	= bmp085_id,
 	.probe		= bmp085_spi_probe,
-	.remove		= __devexit_p(bmp085_spi_remove)
+	.remove		= bmp085_spi_remove
 };
 
 module_spi_driver(bmp085_spi_driver);
drivers/misc/cb710/core.c +1 -1
index 9d5eed7..489c468 100644
@@ -332,7 +332,7 @@ static struct pci_driver cb710_driver = {
 	.name = KBUILD_MODNAME,
 	.id_table = cb710_pci_tbl,
 	.probe = cb710_probe,
-	.remove = __devexit_p(cb710_remove_one),
+	.remove = cb710_remove_one,
 #ifdef CONFIG_PM
 	.suspend = cb710_suspend,
 	.resume = cb710_resume,
drivers/misc/eeprom/at24.c +1 -1
index ab1ad41..3c36997 100644
@@ -680,7 +680,7 @@ static struct i2c_driver at24_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = at24_probe,
-	.remove = __devexit_p(at24_remove),
+	.remove = at24_remove,
 	.id_table = at24_ids,
 };
 
drivers/misc/eeprom/at25.c +1 -1
index 4ed93dd..fcb237e 100644
@@ -477,7 +477,7 @@ static struct spi_driver at25_driver = {
 		.owner		= THIS_MODULE,
 	},
 	.probe		= at25_probe,
-	.remove		= __devexit_p(at25_remove),
+	.remove		= at25_remove,
 };
 
 module_spi_driver(at25_driver);
drivers/misc/eeprom/eeprom_93xx46.c +1 -1
index ce3fe36..3dc14ea 100644
@@ -389,7 +389,7 @@ static struct spi_driver eeprom_93xx46_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= eeprom_93xx46_probe,
-	.remove		= __devexit_p(eeprom_93xx46_remove),
+	.remove		= eeprom_93xx46_remove,
 };
 
 module_spi_driver(eeprom_93xx46_driver);
drivers/misc/fsa9480.c +1 -1
index ac96c3a..38b52b9 100644
@@ -533,7 +533,7 @@ static struct i2c_driver fsa9480_i2c_driver = {
 		.name = "fsa9480",
 	},
 	.probe = fsa9480_probe,
-	.remove = __devexit_p(fsa9480_remove),
+	.remove = fsa9480_remove,
 	.resume = fsa9480_resume,
 	.suspend = fsa9480_suspend,
 	.id_table = fsa9480_id,
drivers/misc/hpilo.c +1 -1
index 12ccdf9..4a6b3b6 100644
@@ -852,7 +852,7 @@ static struct pci_driver ilo_driver = {
 	.name 	  = ILO_NAME,
 	.id_table = ilo_devices,
 	.probe 	  = ilo_probe,
-	.remove   = __devexit_p(ilo_remove),
+	.remove   = ilo_remove,
 };
 
 static int __init ilo_init(void)
drivers/misc/ibmasm/module.c +1 -1
index 168d800..f34a92f 100644
@@ -198,7 +198,7 @@ static struct pci_driver ibmasm_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= ibmasm_pci_table,
 	.probe		= ibmasm_init_one,
-	.remove		= __devexit_p(ibmasm_remove_one),
+	.remove		= ibmasm_remove_one,
 };
 
 static void __exit ibmasm_exit (void)
drivers/misc/ioc4.c +1 -1
index 6a77106..794a7e0 100644
@@ -466,7 +466,7 @@ static struct pci_driver ioc4_driver = {
 	.name = "IOC4",
 	.id_table = ioc4_id_table,
 	.probe = ioc4_probe,
-	.remove = __devexit_p(ioc4_remove),
+	.remove = ioc4_remove,
 };
 
 MODULE_DEVICE_TABLE(pci, ioc4_id_table);
drivers/misc/isl29003.c +1 -1
index eb5de2e..bef5307 100644
@@ -451,7 +451,7 @@ static struct i2c_driver isl29003_driver = {
 	.suspend = isl29003_suspend,
 	.resume	= isl29003_resume,
 	.probe	= isl29003_probe,
-	.remove	= __devexit_p(isl29003_remove),
+	.remove	= isl29003_remove,
 	.id_table = isl29003_id,
 };
 
drivers/misc/lis3lv02d/lis3lv02d_i2c.c +1 -1
index 60ec868..403804c 100644
@@ -280,7 +280,7 @@ static struct i2c_driver lis3lv02d_i2c_driver = {
 		.of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids),
 	},
 	.probe	= lis3lv02d_i2c_probe,
-	.remove	= __devexit_p(lis3lv02d_i2c_remove),
+	.remove	= lis3lv02d_i2c_remove,
 	.id_table = lis3lv02d_id,
 };
 
drivers/misc/lis3lv02d/lis3lv02d_spi.c +1 -1
index ccb6475..0e415c3 100644
@@ -144,7 +144,7 @@ static struct spi_driver lis302dl_spi_driver = {
 		.of_match_table = of_match_ptr(lis302dl_spi_dt_ids),
 	},
 	.probe	= lis302dl_spi_probe,
-	.remove	= __devexit_p(lis302dl_spi_remove),
+	.remove	= lis302dl_spi_remove,
 };
 
 module_spi_driver(lis302dl_spi_driver);
drivers/misc/pch_phub.c +1 -1
index c9f20da..5581774 100644
@@ -888,7 +888,7 @@ static struct pci_driver pch_phub_driver = {
 	.name = "pch_phub",
 	.id_table = pch_phub_pcidev_id,
 	.probe = pch_phub_probe,
-	.remove = __devexit_p(pch_phub_remove),
+	.remove = pch_phub_remove,
 	.suspend = pch_phub_suspend,
 	.resume = pch_phub_resume
 };
drivers/misc/phantom.c +1 -1
index 21b28fc..79038e9 100644
@@ -499,7 +499,7 @@ static struct pci_driver phantom_pci_driver = {
 	.name = "phantom",
 	.id_table = phantom_pci_tbl,
 	.probe = phantom_probe,
-	.remove = __devexit_p(phantom_remove),
+	.remove = phantom_remove,
 	.suspend = phantom_suspend,
 	.resume = phantom_resume
 };
drivers/misc/pti.c +1 -1
index 4999b34..3c5d746 100644
@@ -901,7 +901,7 @@ static struct pci_driver pti_pci_driver = {
 	.name		= PCINAME,
 	.id_table	= pci_ids,
 	.probe		= pti_pci_probe,
-	.remove		= __devexit_p(pti_pci_remove),
+	.remove		= pti_pci_remove,
 };
 
 /**
drivers/misc/ti_dac7512.c +1 -1
index 5acbba1..85989ca 100644
@@ -79,7 +79,7 @@ static struct spi_driver dac7512_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe	= dac7512_probe,
-	.remove	= __devexit_p(dac7512_remove),
+	.remove	= dac7512_remove,
 };
 
 module_spi_driver(dac7512_driver);
drivers/misc/tsl2550.c +1 -1
index 0beb298..09ffb0b 100644
@@ -450,7 +450,7 @@ static struct i2c_driver tsl2550_driver = {
 	.suspend = tsl2550_suspend,
 	.resume	= tsl2550_resume,
 	.probe	= tsl2550_probe,
-	.remove	= __devexit_p(tsl2550_remove),
+	.remove	= tsl2550_remove,
 	.id_table = tsl2550_id,
 };
 
Signature · 1 line
1.8.0
#13 lore raw

PATCH 210/493 infiniband: remove use of __devinit

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.

---
 drivers/infiniband/hw/amso1100/c2.c        | 2 +-
 drivers/infiniband/hw/amso1100/c2.h        | 4 ++--
 drivers/infiniband/hw/amso1100/c2_pd.c     | 2 +-
 drivers/infiniband/hw/amso1100/c2_qp.c     | 2 +-
 drivers/infiniband/hw/amso1100/c2_rnic.c   | 2 +-
 drivers/infiniband/hw/ehca/ehca_main.c     | 2 +-
 drivers/infiniband/hw/ipath/ipath_driver.c | 4 ++--
 drivers/infiniband/hw/mthca/mthca_main.c   | 2 +-
 drivers/infiniband/hw/nes/nes.c            | 2 +-
 drivers/infiniband/hw/qib/qib_init.c       | 4 ++--
 10 files changed, 13 insertions(+), 13 deletions(-)
drivers/infiniband/hw/amso1100/c2.c +1 -1
index 60cd99e..9a51635 100644
@@ -920,7 +920,7 @@ static struct net_device *c2_devinit(struct c2_dev *c2dev,
 	return netdev;
 }
 
-static int __devinit c2_probe(struct pci_dev *pcidev,
+static int c2_probe(struct pci_dev *pcidev,
 			      const struct pci_device_id *ent)
 {
 	int ret = 0, i;
drivers/infiniband/hw/amso1100/c2.h +2 -2
index 6ae698e..a79750b 100644
@@ -498,7 +498,7 @@ extern int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr,
 			struct ib_send_wr **bad_wr);
 extern int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_wr,
 			   struct ib_recv_wr **bad_wr);
-extern void __devinit c2_init_qp_table(struct c2_dev *c2dev);
+extern void c2_init_qp_table(struct c2_dev *c2dev);
 extern void __devexit c2_cleanup_qp_table(struct c2_dev *c2dev);
 extern void c2_set_qp_state(struct c2_qp *, int);
 extern struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn);
@@ -506,7 +506,7 @@ extern struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn);
 /* PDs */
 extern int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd);
 extern void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd);
-extern int __devinit c2_init_pd_table(struct c2_dev *c2dev);
+extern int c2_init_pd_table(struct c2_dev *c2dev);
 extern void __devexit c2_cleanup_pd_table(struct c2_dev *c2dev);
 
 /* CQs */
drivers/infiniband/hw/amso1100/c2_pd.c +1 -1
index 161f2a2..b87a64e 100644
@@ -70,7 +70,7 @@ void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd)
 	spin_unlock(&c2dev->pd_table.lock);
 }
 
-int __devinit c2_init_pd_table(struct c2_dev *c2dev)
+int c2_init_pd_table(struct c2_dev *c2dev)
 {
 
 	c2dev->pd_table.last = 0;
drivers/infiniband/hw/amso1100/c2_qp.c +1 -1
index 0d7b6f23..9a3b579 100644
@@ -1010,7 +1010,7 @@ out:
 	return err;
 }
 
-void __devinit c2_init_qp_table(struct c2_dev *c2dev)
+void c2_init_qp_table(struct c2_dev *c2dev)
 {
 	spin_lock_init(&c2dev->qp_table.lock);
 	idr_init(&c2dev->qp_table.idr);
drivers/infiniband/hw/amso1100/c2_rnic.c +1 -1
index e4a7315..9ea4002 100644
@@ -442,7 +442,7 @@ static int c2_rnic_close(struct c2_dev *c2dev)
  * involves initializing the various limits and resource pools that
  * comprise the RNIC instance.
  */
-int __devinit c2_rnic_init(struct c2_dev *c2dev)
+int c2_rnic_init(struct c2_dev *c2dev)
 {
 	int err;
 	u32 qsize, msgsize;
drivers/infiniband/hw/ehca/ehca_main.c +1 -1
index 832e7a7..2458974 100644
@@ -713,7 +713,7 @@ static struct attribute_group ehca_dev_attr_grp = {
 	.attrs = ehca_dev_attrs
 };
 
-static int __devinit ehca_probe(struct platform_device *dev,
+static int ehca_probe(struct platform_device *dev,
 				const struct of_device_id *id)
 {
 	struct ehca_shca *shca;
drivers/infiniband/hw/ipath/ipath_driver.c +2 -2
index eb3d422..e5fd2b9 100644
@@ -128,7 +128,7 @@ const char *ipath_ibcstatus_str[] = {
 };
 
 static void __devexit ipath_remove_one(struct pci_dev *);
-static int __devinit ipath_init_one(struct pci_dev *,
+static int ipath_init_one(struct pci_dev *,
 				    const struct pci_device_id *);
 
 /* Only needed for registration, nothing else needs this info */
@@ -392,7 +392,7 @@ done:
 
 static void cleanup_device(struct ipath_devdata *dd);
 
-static int __devinit ipath_init_one(struct pci_dev *pdev,
+static int ipath_init_one(struct pci_dev *pdev,
 				    const struct pci_device_id *ent)
 {
 	int ret, len, j;
drivers/infiniband/hw/mthca/mthca_main.c +1 -1
index 4dda1dd..eee56ba 100644
@@ -1139,7 +1139,7 @@ int __mthca_restart_one(struct pci_dev *pdev)
 	return __mthca_init_one(pdev, hca_type);
 }
 
-static int __devinit mthca_init_one(struct pci_dev *pdev,
+static int mthca_init_one(struct pci_dev *pdev,
 				    const struct pci_device_id *id)
 {
 	int ret;
drivers/infiniband/hw/nes/nes.c +1 -1
index cc15f3f..95a5f57 100644
@@ -444,7 +444,7 @@ static irqreturn_t nes_interrupt(int irq, void *dev_id)
 /**
  * nes_probe - Device initialization
  */
-static int __devinit nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
+static int nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
 {
 	struct net_device *netdev = NULL;
 	struct nes_device *nesdev = NULL;
drivers/infiniband/hw/qib/qib_init.c +2 -2
index a7de247..42ca4cb 100644
@@ -1135,7 +1135,7 @@ void qib_disable_after_error(struct qib_devdata *dd)
 }
 
 static void __devexit qib_remove_one(struct pci_dev *);
-static int __devinit qib_init_one(struct pci_dev *,
+static int qib_init_one(struct pci_dev *,
 				  const struct pci_device_id *);
 
 #define DRIVER_LOAD_MSG "QLogic " QIB_DRV_NAME " loaded: "
@@ -1342,7 +1342,7 @@ static void qib_postinit_cleanup(struct qib_devdata *dd)
 	qib_free_devdata(dd);
 }
 
-static int __devinit qib_init_one(struct pci_dev *pdev,
+static int qib_init_one(struct pci_dev *pdev,
 				  const struct pci_device_id *ent)
 {
 	int ret, j, pidx, initfail;
Signature · 6 lines
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#14 lore raw

PATCH 231/493 iommu: remove use of __devinit

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed.

Cc iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org )
---
 drivers/iommu/intel-iommu.c | 4 ++--
 drivers/iommu/omap-iommu.c  | 2 +-
 drivers/iommu/tegra-gart.c  | 2 +-
 drivers/iommu/tegra-smmu.c  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
drivers/iommu/intel-iommu.c +2 -2
index d4a4cd4..246c7ce 100644
@@ -4196,7 +4196,7 @@ static struct iommu_ops intel_iommu_ops = {
 	.pgsize_bitmap	= INTEL_IOMMU_PGSIZES,
 };
 
-static void __devinit quirk_iommu_rwbf(struct pci_dev *dev)
+static void quirk_iommu_rwbf(struct pci_dev *dev)
 {
 	/*
 	 * Mobile 4 Series Chipset neglects to set RWBF capability,
@@ -4224,7 +4224,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_rwbf);
 #define GGC_MEMORY_SIZE_3M_VT	(0xa << 8)
 #define GGC_MEMORY_SIZE_4M_VT	(0xb << 8)
 
-static void __devinit quirk_calpella_no_shadow_gtt(struct pci_dev *dev)
+static void quirk_calpella_no_shadow_gtt(struct pci_dev *dev)
 {
 	unsigned short ggc;
 
drivers/iommu/omap-iommu.c +1 -1
index e7b0a17..c13979d 100644
@@ -905,7 +905,7 @@ static void omap_iommu_detach(struct omap_iommu *obj)
 /*
  *	OMAP Device MMU(IOMMU) detection
  */
-static int __devinit omap_iommu_probe(struct platform_device *pdev)
+static int omap_iommu_probe(struct platform_device *pdev)
 {
 	int err = -ENODEV;
 	int irq;
drivers/iommu/tegra-gart.c +1 -1
index c16e8fc..58ae73c 100644
@@ -448,7 +448,7 @@ static struct platform_driver tegra_gart_driver = {
 	},
 };
 
-static int __devinit tegra_gart_init(void)
+static int tegra_gart_init(void)
 {
 	bus_set_iommu(&platform_bus_type, &gart_iommu_ops);
 	return platform_driver_register(&tegra_gart_driver);
drivers/iommu/tegra-smmu.c +1 -1
index 4167863..e635a90 100644
@@ -1273,7 +1273,7 @@ static struct platform_driver tegra_smmu_driver = {
 	},
 };
 
-static int __devinit tegra_smmu_init(void)
+static int tegra_smmu_init(void)
 {
 	bus_set_iommu(&platform_bus_type, &smmu_iommu_ops);
 	return platform_driver_register(&tegra_smmu_driver);
Signature · 1 line
1.8.0
#15 lore raw

PATCH 296/493 watchdog: remove use of __devinitdata

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.

Cc Wim Van Sebroeck <[email protected]>
Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>
Cc devicetree-discuss-uLR06cmDAlY/[email protected]
---
 drivers/watchdog/mixcomwd.c      | 2 +-
 drivers/watchdog/of_xilinx_wdt.c | 2 +-
 drivers/watchdog/orion_wdt.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/watchdog/mixcomwd.c +1 -1
index 37e4b52..97d62ee 100644
@@ -73,7 +73,7 @@
 static struct {
 	int ioport;
 	int id;
-} mixcomwd_io_info[] __devinitdata = {
+} mixcomwd_io_info[] = {
 	/* The Mixcom cards */
 	{0x0d90, MIXCOM_ID},
 	{0x0e90, MIXCOM_ID},
drivers/watchdog/of_xilinx_wdt.c +1 -1
index fd3e5f6..3ddc4e9 100644
@@ -393,7 +393,7 @@ static int __devexit xwdt_remove(struct platform_device *dev)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinitdata xwdt_of_match[] = {
+static struct of_device_id xwdt_of_match[] = {
 	{ .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
 	{},
 };
drivers/watchdog/orion_wdt.c +1 -1
index e6b7bd2..f722635 100644
@@ -193,7 +193,7 @@ static void orion_wdt_shutdown(struct platform_device *pdev)
 	orion_wdt_stop(&orion_wdt);
 }
 
-static const struct of_device_id orion_wdt_of_match_table[] __devinitdata = {
+static const struct of_device_id orion_wdt_of_match_table[] = {
 	{ .compatible = "marvell,orion-wdt", },
 	{},
 };
Signature · 1 line
1.8.0
#16 lore raw

PATCH 306/493 i2c: remove use of __devinitdata

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.

Cc Jean Delvare <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc "Ben Dooks " <[email protected]>
Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>
Cc devicetree-discuss-uLR06cmDAlY/[email protected]
---
 drivers/i2c/busses/i2c-i801.c    |  4 ++--
 drivers/i2c/busses/i2c-mpc.c     | 10 +++++-----
 drivers/i2c/busses/i2c-mv64xxx.c |  2 +-
 drivers/i2c/busses/i2c-nforce2.c |  2 +-
 drivers/i2c/busses/i2c-piix4.c   |  4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)
drivers/i2c/busses/i2c-i801.c +2 -2
index d362004..5971441 100644
@@ -841,7 +841,7 @@ struct dmi_onboard_device_info {
 	const char *i2c_type;
 };
 
-static struct dmi_onboard_device_info __devinitdata dmi_devices[] = {
+static struct dmi_onboard_device_info dmi_devices[] = {
 	{ "Syleus", DMI_DEV_TYPE_OTHER, 0x73, "fscsyl" },
 	{ "Hermes", DMI_DEV_TYPE_OTHER, 0x73, "fscher" },
 	{ "Hades",  DMI_DEV_TYPE_OTHER, 0x73, "fschds" },
@@ -944,7 +944,7 @@ static struct i801_mux_config i801_mux_config_asus_z8_d18 = {
 	.n_gpios = 2,
 };
 
-static struct dmi_system_id __devinitdata mux_dmi_table[] = {
+static struct dmi_system_id mux_dmi_table[] = {
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
drivers/i2c/busses/i2c-mpc.c +5 -5
index caede3c..c26095d 100644
@@ -746,24 +746,24 @@ static int mpc_i2c_resume(struct device *dev)
 SIMPLE_DEV_PM_OPS(mpc_i2c_pm_ops, mpc_i2c_suspend, mpc_i2c_resume);
 #endif
 
-static const struct mpc_i2c_data mpc_i2c_data_512x __devinitdata = {
+static const struct mpc_i2c_data mpc_i2c_data_512x = {
 	.setup = mpc_i2c_setup_512x,
 };
 
-static const struct mpc_i2c_data mpc_i2c_data_52xx __devinitdata = {
+static const struct mpc_i2c_data mpc_i2c_data_52xx = {
 	.setup = mpc_i2c_setup_52xx,
 };
 
-static const struct mpc_i2c_data mpc_i2c_data_8313 __devinitdata = {
+static const struct mpc_i2c_data mpc_i2c_data_8313 = {
 	.setup = mpc_i2c_setup_8xxx,
 };
 
-static const struct mpc_i2c_data mpc_i2c_data_8543 __devinitdata = {
+static const struct mpc_i2c_data mpc_i2c_data_8543 = {
 	.setup = mpc_i2c_setup_8xxx,
 	.prescaler = 2,
 };
 
-static const struct mpc_i2c_data mpc_i2c_data_8544 __devinitdata = {
+static const struct mpc_i2c_data mpc_i2c_data_8544 = {
 	.setup = mpc_i2c_setup_8xxx,
 	.prescaler = 3,
 };
drivers/i2c/busses/i2c-mv64xxx.c +1 -1
index 06dd6aa..39a0a78 100644
@@ -718,7 +718,7 @@ mv64xxx_i2c_remove(struct platform_device *dev)
 	return rc;
 }
 
-static const struct of_device_id mv64xxx_i2c_of_match_table[] __devinitdata = {
+static const struct of_device_id mv64xxx_i2c_of_match_table[] = {
 	{ .compatible = "marvell,mv64xxx-i2c", },
 	{}
 };
drivers/i2c/busses/i2c-nforce2.c +1 -1
index d820a93..1012183 100644
@@ -117,7 +117,7 @@ struct nforce2_smbus {
 #define MAX_TIMEOUT	100
 
 /* We disable the second SMBus channel on these boards */
-static struct dmi_system_id __devinitdata nforce2_dmi_blacklist2[] = {
+static struct dmi_system_id nforce2_dmi_blacklist2[] = {
 	{
 		.ident = "DFI Lanparty NF4 Expert",
 		.matches = {
drivers/i2c/busses/i2c-piix4.c +2 -2
index 891f2b5..1cce916 100644
@@ -99,7 +99,7 @@ MODULE_PARM_DESC(force_addr,
 static int srvrworks_csb5_delay;
 static struct pci_driver piix4_driver;
 
-static struct dmi_system_id __devinitdata piix4_dmi_blacklist[] = {
+static struct dmi_system_id piix4_dmi_blacklist[] = {
 	{
 		.ident = "Sapphire AM2RD790",
 		.matches = {
@@ -119,7 +119,7 @@ static struct dmi_system_id __devinitdata piix4_dmi_blacklist[] = {
 
 /* The IBM entry is in a separate table because we only check it
    on Intel-based systems */
-static struct dmi_system_id __devinitdata piix4_dmi_ibm[] = {
+static struct dmi_system_id piix4_dmi_ibm[] = {
 	{
 		.ident = "IBM",
 		.matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), },
Signature · 1 line
1.8.0
#17 lore raw

PATCH 308/493 infiniband: remove use of __devinitdata

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.

---
 drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/mthca/mthca_main.c +1 -1
index eee56ba..5ccae15 100644
@@ -130,7 +130,7 @@ static int log_mtts_per_seg = ilog2(MTHCA_MTT_SEG_SIZE / 8);
 module_param_named(log_mtts_per_seg, log_mtts_per_seg, int, 0444);
 MODULE_PARM_DESC(log_mtts_per_seg, "Log2 number of MTT entries per segment (1-5)");
 
-static char mthca_version[] __devinitdata =
+static char mthca_version[] =
 	DRV_NAME ": Mellanox InfiniBand HCA driver v"
 	DRV_VERSION " (" DRV_RELDATE ")\n";
 
Signature · 6 lines
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#18 lore raw

PATCH 322/493 spi: remove use of __devinitdata

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed.

Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>
Cc spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc devicetree-discuss-uLR06cmDAlY/[email protected]
---
 drivers/spi/spi-orion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-orion.c +1 -1
index b17c09c..e5a6d75 100644
@@ -478,7 +478,7 @@ static int __exit orion_spi_remove(struct platform_device *pdev)
 
 MODULE_ALIAS("platform:" DRIVER_NAME);
 
-static const struct of_device_id orion_spi_of_match_table[] __devinitdata = {
+static const struct of_device_id orion_spi_of_match_table[] = {
 	{ .compatible = "marvell,orion-spi", },
 	{}
 };
Signature · 9 lines
1.8.0


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
#19 lore raw

PATCH 369/493 spi: remove use of __devinitconst

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed.

Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
---
 drivers/spi/spi-mpc52xx.c       | 2 +-
 drivers/spi/spi-tegra20-slink.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/spi/spi-mpc52xx.c +1 -1
index 8b3c7da..18c8865 100644
@@ -547,7 +547,7 @@ static int __devexit mpc52xx_spi_remove(struct platform_device *op)
 	return 0;
 }
 
-static const struct of_device_id mpc52xx_spi_match[] __devinitconst = {
+static const struct of_device_id mpc52xx_spi_match[] = {
 	{ .compatible = "fsl,mpc5200-spi", },
 	{}
 };
drivers/spi/spi-tegra20-slink.c +1 -1
index c0450e0..cab1926 100644
@@ -1108,7 +1108,7 @@ const struct tegra_slink_chip_data tegra20_spi_cdata = {
 	.cs_hold_time = false,
 };
 
-static struct of_device_id tegra_slink_of_match[] __devinitconst = {
+static struct of_device_id tegra_slink_of_match[] = {
 	{ .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, },
 	{ .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, },
 	{}
Signature · 9 lines
1.8.0


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
#20 lore raw

PATCH 386/493 spi: remove use of __devinitconst

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed.

Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
---
 drivers/spi/spi-tegra20-sflash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-tegra20-sflash.c +1 -1
index ae4b7c2..30995bf 100644
@@ -451,7 +451,7 @@ static struct tegra_spi_platform_data *tegra_sflash_parse_dt(
 	return pdata;
 }
 
-static struct of_device_id tegra_sflash_of_match[] __devinitconst = {
+static struct of_device_id tegra_sflash_of_match[] = {
 	{ .compatible = "nvidia,tegra20-sflash", },
 	{}
 };
Signature · 9 lines
1.8.0


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
#21 lore raw

PATCH 407/493 infiniband: remove use of __devexit

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

---
 drivers/infiniband/hw/amso1100/c2.c        | 2 +-
 drivers/infiniband/hw/amso1100/c2.h        | 4 ++--
 drivers/infiniband/hw/amso1100/c2_pd.c     | 2 +-
 drivers/infiniband/hw/amso1100/c2_qp.c     | 2 +-
 drivers/infiniband/hw/amso1100/c2_rnic.c   | 2 +-
 drivers/infiniband/hw/ehca/ehca_main.c     | 2 +-
 drivers/infiniband/hw/ipath/ipath_driver.c | 4 ++--
 drivers/infiniband/hw/mthca/mthca_main.c   | 2 +-
 drivers/infiniband/hw/nes/nes.c            | 2 +-
 drivers/infiniband/hw/qib/qib_init.c       | 4 ++--
 10 files changed, 13 insertions(+), 13 deletions(-)
drivers/infiniband/hw/amso1100/c2.c +1 -1
index 9a51635..958c2e1 100644
@@ -1191,7 +1191,7 @@ static int c2_probe(struct pci_dev *pcidev,
 	return ret;
 }
 
-static void __devexit c2_remove(struct pci_dev *pcidev)
+static void c2_remove(struct pci_dev *pcidev)
 {
 	struct c2_dev *c2dev = pci_get_drvdata(pcidev);
 	struct net_device *netdev = c2dev->netdev;
drivers/infiniband/hw/amso1100/c2.h +2 -2
index a79750b..ba7a1208 100644
@@ -499,7 +499,7 @@ extern int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr,
 extern int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_wr,
 			   struct ib_recv_wr **bad_wr);
 extern void c2_init_qp_table(struct c2_dev *c2dev);
-extern void __devexit c2_cleanup_qp_table(struct c2_dev *c2dev);
+extern void c2_cleanup_qp_table(struct c2_dev *c2dev);
 extern void c2_set_qp_state(struct c2_qp *, int);
 extern struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn);
 
@@ -507,7 +507,7 @@ extern struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn);
 extern int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd);
 extern void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd);
 extern int c2_init_pd_table(struct c2_dev *c2dev);
-extern void __devexit c2_cleanup_pd_table(struct c2_dev *c2dev);
+extern void c2_cleanup_pd_table(struct c2_dev *c2dev);
 
 /* CQs */
 extern int c2_init_cq(struct c2_dev *c2dev, int entries,
drivers/infiniband/hw/amso1100/c2_pd.c +1 -1
index b87a64e..f3e81dc 100644
@@ -84,7 +84,7 @@ int c2_init_pd_table(struct c2_dev *c2dev)
 	return 0;
 }
 
-void __devexit c2_cleanup_pd_table(struct c2_dev *c2dev)
+void c2_cleanup_pd_table(struct c2_dev *c2dev)
 {
 	kfree(c2dev->pd_table.table);
 }
drivers/infiniband/hw/amso1100/c2_qp.c +1 -1
index 9a3b579..28cd5cb 100644
@@ -1016,7 +1016,7 @@ void c2_init_qp_table(struct c2_dev *c2dev)
 	idr_init(&c2dev->qp_table.idr);
 }
 
-void __devexit c2_cleanup_qp_table(struct c2_dev *c2dev)
+void c2_cleanup_qp_table(struct c2_dev *c2dev)
 {
 	idr_destroy(&c2dev->qp_table.idr);
 }
drivers/infiniband/hw/amso1100/c2_rnic.c +1 -1
index 9ea4002..b7c9869 100644
@@ -611,7 +611,7 @@ int c2_rnic_init(struct c2_dev *c2dev)
 /*
  * Called by c2_remove to cleanup the RNIC resources.
  */
-void __devexit c2_rnic_term(struct c2_dev *c2dev)
+void c2_rnic_term(struct c2_dev *c2dev)
 {
 
 	/* Close the open adapter instance */
drivers/infiniband/hw/ehca/ehca_main.c +1 -1
index 2458974..8772615 100644
@@ -879,7 +879,7 @@ probe1:
 	return -EINVAL;
 }
 
-static int __devexit ehca_remove(struct platform_device *dev)
+static int ehca_remove(struct platform_device *dev)
 {
 	struct ehca_shca *shca = dev_get_drvdata(&dev->dev);
 	unsigned long flags;
drivers/infiniband/hw/ipath/ipath_driver.c +2 -2
index e5fd2b9..88dc1d9 100644
@@ -127,7 +127,7 @@ const char *ipath_ibcstatus_str[] = {
 	"LTState1C", "LTState1D", "LTState1E", "LTState1F"
 };
 
-static void __devexit ipath_remove_one(struct pci_dev *);
+static void ipath_remove_one(struct pci_dev *);
 static int ipath_init_one(struct pci_dev *,
 				    const struct pci_device_id *);
 
@@ -737,7 +737,7 @@ static void cleanup_device(struct ipath_devdata *dd)
 	kfree(tmp);
 }
 
-static void __devexit ipath_remove_one(struct pci_dev *pdev)
+static void ipath_remove_one(struct pci_dev *pdev)
 {
 	struct ipath_devdata *dd = pci_get_drvdata(pdev);
 
drivers/infiniband/hw/mthca/mthca_main.c +1 -1
index 5ccae15..8b6b11d 100644
@@ -1162,7 +1162,7 @@ static int mthca_init_one(struct pci_dev *pdev,
 	return ret;
 }
 
-static void __devexit mthca_remove_one(struct pci_dev *pdev)
+static void mthca_remove_one(struct pci_dev *pdev)
 {
 	mutex_lock(&mthca_device_mutex);
 	__mthca_remove_one(pdev);
drivers/infiniband/hw/nes/nes.c +1 -1
index 95a5f57..5b152a3 100644
@@ -749,7 +749,7 @@ static int nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
 /**
  * nes_remove - unload from kernel
  */
-static void __devexit nes_remove(struct pci_dev *pcidev)
+static void nes_remove(struct pci_dev *pcidev)
 {
 	struct nes_device *nesdev = pci_get_drvdata(pcidev);
 	struct net_device *netdev;
drivers/infiniband/hw/qib/qib_init.c +2 -2
index 42ca4cb..58b657e 100644
@@ -1134,7 +1134,7 @@ void qib_disable_after_error(struct qib_devdata *dd)
 		*dd->devstatusp |= QIB_STATUS_HWERROR;
 }
 
-static void __devexit qib_remove_one(struct pci_dev *);
+static void qib_remove_one(struct pci_dev *);
 static int qib_init_one(struct pci_dev *,
 				  const struct pci_device_id *);
 
@@ -1448,7 +1448,7 @@ bail:
 	return ret;
 }
 
-static void __devexit qib_remove_one(struct pci_dev *pdev)
+static void qib_remove_one(struct pci_dev *pdev)
 {
 	struct qib_devdata *dd = pci_get_drvdata(pdev);
 	int ret;
Signature · 6 lines
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1353349642-3677-407-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/[email protected]

#23 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

I'm sad to hear this, it is an easy space saver on my non-modular emebedded systems :(

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20121119200921.GD1556-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org

#25 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 6 lines · Jason Gunthorpe
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

I'm sad to hear this, it is an easy space saver on my non-modular emebedded systems :(

Really? I asked for details, and it was reported that this only saved 1-200 bytes or so. See the lkml archives for the details of this.

In your configuration, did you really see more than that?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#26 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 10 lines · Greg KH
Quoted 6 lines · Jason Gunthorpe
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

I'm sad to hear this, it is an easy space saver on my non-modular emebedded systems :(

Really? I asked for details, and it was reported that this only saved 1-200 bytes or so. See the lkml archives for the details of this.

I just checked for you:

Old 2.6.16 powerpc 32 kernel:

text data bss dec hex filename

2399368  222224  156124 2777716  2a6274 build/vmlinux
2394634  221804  156124 2772562  2a4e52 build-nhp/vmlinux

That looks like around 5154 bytes to me

New 3.6 powerpc 32 kernel:

text data bss dec hex filename

3352356  162812  218132 3733300  38f734 build/vmlinux
3347644  162648  217860 3728152  38e318 build-nhp/vmlinux

And that is about 5148 bytes.

In both cases the only difference is adding CONFIG_HOTPLUG=y to the config.

5k isn't a lot, but in the context of 'I have to figure out how to trim ~1MB off the 3.6 kernel to run it in our smallest hardware' it is the wrong direction :(

Regards,
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#27 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 28 lines · Jason Gunthorpe
Quoted 10 lines · Greg KH
Quoted 6 lines · Jason Gunthorpe
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

I'm sad to hear this, it is an easy space saver on my non-modular emebedded systems :(

Really? I asked for details, and it was reported that this only saved 1-200 bytes or so. See the lkml archives for the details of this.

I just checked for you:

Old 2.6.16 powerpc 32 kernel:

text data bss dec hex filename

2399368  222224  156124 2777716  2a6274 build/vmlinux
2394634  221804  156124 2772562  2a4e52 build-nhp/vmlinux

That looks like around 5154 bytes to me

New 3.6 powerpc 32 kernel:

text data bss dec hex filename

3352356  162812  218132 3733300  38f734 build/vmlinux
3347644  162648  217860 3728152  38e318 build-nhp/vmlinux
Quoted 8 lines

And that is about 5148 bytes.

In both cases the only difference is adding CONFIG_HOTPLUG=y to the config.

5k isn't a lot, but in the context of 'I have to figure out how to trim ~1MB off the 3.6 kernel to run it in our smallest hardware' it is the wrong direction :(

It is only 0.138% in the "wrong" direction. Seriously, that's a very tiny percentage here, for an option that people _always_ get wrong, and almost no system does not need. The number of bugs we have had in this area is huge, and by fixing this option like this, it takes them all away.

Yes, there are going to be exceptions, like yours, that somehow do run properly without CONFIG_HOTPLUG enabled. But really, are you worried about 0.138% right now? The amount of time we just spent writing these emails, memory sizes increased this much for your next platform, for the same cost as your last platform.

Also, as you point out above, it's a constant number that this option is affecting, which is good for you, because as time goes on, it's a smaller and smaller percentage of the overall space used by your kernel.

Thanks for running the numbers, I appreciate it. I'm amazed that your kernel growth from 2.6.16 to 3.6 is 1Mb. Why would you want to run the 3.6 kernel in a system designed for the 2.6.16 kernel (i.e. one designed over 6 _years_ ago)?

A lot happens in 6 years :)

thanks,

greg k-h

#28 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 9 lines · Greg KH
Quoted 3 lines

5k isn't a lot, but in the context of 'I have to figure out how to trim ~1MB off the 3.6 kernel to run it in our smallest hardware' it is the wrong direction :(

It is only 0.138% in the "wrong" direction. Seriously, that's a very tiny percentage here, for an option that people _always_ get wrong, and almost no system does not need. The number of bugs we have had in this area is huge, and by fixing this option like this, it takes them all away.

Sure, it isn't a lot. I don't have any idea about problems CONFIG_HOTPLUG causes, but it seems alot of work has gone into making this option over the years (the patch to remove it is huge), is there no other way to get what you want?

Quoted 5 lines

Yes, there are going to be exceptions, like yours, that somehow do run properly without CONFIG_HOTPLUG enabled. But really, are you worried about 0.138% right now? The amount of time we just spent writing these emails, memory sizes increased this much for your next platform, for the same cost as your last platform.

Well, I'm not worried looking forward, as you say, it just doesn't matter. The systems we designed today have 128M and that was pretty much the *smallest* dram we could provision.

Quoted 4 lines

Thanks for running the numbers, I appreciate it. I'm amazed that your kernel growth from 2.6.16 to 3.6 is 1Mb. Why would you want to run the 3.6 kernel in a system designed for the 2.6.16 kernel (i.e. one designed over 6 _years_ ago)?

I haven't had any time to inspect the 1MB growth, so I can't comment on what is going on there.. A chunk of that will be some initrd growth too..

As for why the interest in upgrading? Well, we don't make consumer products, our stuff has long life cycles and the 6 year old system continues to be manufactured and sold today.

Our latest platform is ARM based, and we've had to re-spin and re-test *everything*. The work to bundle PPC along in that effort is fairly minor, so we are looking at keeping it up-to-date with our unified firmware.

Regards,
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#29 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 12 lines · Jason Gunthorpe
Quoted 9 lines · Greg KH
Quoted 3 lines

5k isn't a lot, but in the context of 'I have to figure out how to trim ~1MB off the 3.6 kernel to run it in our smallest hardware' it is the wrong direction :(

It is only 0.138% in the "wrong" direction. Seriously, that's a very tiny percentage here, for an option that people _always_ get wrong, and almost no system does not need. The number of bugs we have had in this area is huge, and by fixing this option like this, it takes them all away.

Quoted 4 lines

Sure, it isn't a lot. I don't have any idea about problems CONFIG_HOTPLUG causes, but it seems alot of work has gone into making this option over the years (the patch to remove it is huge), is there no other way to get what you want?

The patch overall, is only 7kb or so. It's the fact that it is just removing the __dev* markings all over the tree that makes it so "big". The big change is just in a very few places in the kernel core that actually do something different depending on CONFIG_HOTPLUG or not.

I could just leave things alone, with CONFIG_HOTPLUG always enabled, but then people will continue to blindly use the __dev* markings, getting it wrong at times, but never realizing that they don't do anything anymore.

Because they don't do anything anymore, the right thing to do is just remove them, which is what Bill's patches do.

Hope this helps explain things better.

thanks,

greg k-h

#30 lore raw

Re: [PATCH 407/493] infiniband: remove use of __devexit

Quoted 3 lines · Greg KH

I could just leave things alone, with CONFIG_HOTPLUG always enabled, but then people will continue to blindly use the __dev* markings, getting it wrong at times, but never realizing that they don't do anything anymore.

Well, I was thinking more along the lines of leaving the capability to remove the __dev* marked functions from the link, as is today, independent of the other stuff CONFIG_HOTPLUG controls. But reviewing your comments from the archive makes me think a motivation is misuse of the __dev* markings..

Thanks for the insight,
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#31 lore raw

PATCH 413/493 misc: remove use of __devexit

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed.

---
 drivers/misc/ad525x_dpot-i2c.c         | 2 +-
 drivers/misc/ad525x_dpot-spi.c         | 2 +-
 drivers/misc/apds9802als.c             | 2 +-
 drivers/misc/apds990x.c                | 2 +-
 drivers/misc/atmel-ssc.c               | 2 +-
 drivers/misc/bh1770glc.c               | 2 +-
 drivers/misc/bh1780gli.c               | 2 +-
 drivers/misc/cb710/core.c              | 2 +-
 drivers/misc/eeprom/at24.c             | 2 +-
 drivers/misc/eeprom/at25.c             | 2 +-
 drivers/misc/eeprom/eeprom_93xx46.c    | 2 +-
 drivers/misc/fsa9480.c                 | 2 +-
 drivers/misc/ibmasm/module.c           | 2 +-
 drivers/misc/ioc4.c                    | 2 +-
 drivers/misc/isl29003.c                | 2 +-
 drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 +-
 drivers/misc/lis3lv02d/lis3lv02d_spi.c | 2 +-
 drivers/misc/mei/main.c                | 2 +-
 drivers/misc/pch_phub.c                | 2 +-
 drivers/misc/phantom.c                 | 2 +-
 drivers/misc/pti.c                     | 2 +-
 drivers/misc/spear13xx_pcie_gadget.c   | 2 +-
 drivers/misc/ti_dac7512.c              | 2 +-
 drivers/misc/tsl2550.c                 | 2 +-
 24 files changed, 24 insertions(+), 24 deletions(-)
drivers/misc/ad525x_dpot-i2c.c +1 -1
index c7bc84d..705b881 100644
@@ -68,7 +68,7 @@ static int ad_dpot_i2c_probe(struct i2c_client *client,
 	return ad_dpot_probe(&client->dev, &bdata, id->driver_data, id->name);
 }
 
-static int __devexit ad_dpot_i2c_remove(struct i2c_client *client)
+static int ad_dpot_i2c_remove(struct i2c_client *client)
 {
 	return ad_dpot_remove(&client->dev);
 }
drivers/misc/ad525x_dpot-spi.c +1 -1
index 240c598..9da04ede 100644
@@ -87,7 +87,7 @@ static int ad_dpot_spi_probe(struct spi_device *spi)
 			     spi_get_device_id(spi)->name);
 }
 
-static int __devexit ad_dpot_spi_remove(struct spi_device *spi)
+static int ad_dpot_spi_remove(struct spi_device *spi)
 {
 	return ad_dpot_remove(&spi->dev);
 }
drivers/misc/apds9802als.c +1 -1
index 77f7cdc..92fca41 100644
@@ -254,7 +254,7 @@ als_error1:
 	return res;
 }
 
-static int __devexit apds9802als_remove(struct i2c_client *client)
+static int apds9802als_remove(struct i2c_client *client)
 {
 	struct als_data *data = i2c_get_clientdata(client);
 
drivers/misc/apds990x.c +1 -1
index b2aaf3f0..0e67f82 100644
@@ -1181,7 +1181,7 @@ fail1:
 	return err;
 }
 
-static int __devexit apds990x_remove(struct i2c_client *client)
+static int apds990x_remove(struct i2c_client *client)
 {
 	struct apds990x_chip *chip = i2c_get_clientdata(client);
 
drivers/misc/atmel-ssc.c +1 -1
index bce3676..96e6c5f 100644
@@ -187,7 +187,7 @@ static int ssc_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static int __devexit ssc_remove(struct platform_device *pdev)
+static int ssc_remove(struct platform_device *pdev)
 {
 	struct ssc_device *ssc = platform_get_drvdata(pdev);
 
drivers/misc/bh1770glc.c +1 -1
index 003e8d9..2ed8fc3 100644
@@ -1285,7 +1285,7 @@ fail1:
 	return err;
 }
 
-static int __devexit bh1770_remove(struct i2c_client *client)
+static int bh1770_remove(struct i2c_client *client)
 {
 	struct bh1770_chip *chip = i2c_get_clientdata(client);
 
drivers/misc/bh1780gli.c +1 -1
index 3004904..cf03d0a 100644
@@ -185,7 +185,7 @@ err_op_failed:
 	return ret;
 }
 
-static int __devexit bh1780_remove(struct i2c_client *client)
+static int bh1780_remove(struct i2c_client *client)
 {
 	struct bh1780_data *ddata;
 
drivers/misc/cb710/core.c +1 -1
index 4fc9c37..2e50f81 100644
@@ -305,7 +305,7 @@ unreg_mmc:
 	return err;
 }
 
-static void __devexit cb710_remove_one(struct pci_dev *pdev)
+static void cb710_remove_one(struct pci_dev *pdev)
 {
 	struct cb710_chip *chip = pci_get_drvdata(pdev);
 	unsigned long flags;
drivers/misc/eeprom/at24.c +1 -1
index 3c36997..2baeec5 100644
@@ -656,7 +656,7 @@ err_out:
 	return err;
 }
 
-static int __devexit at24_remove(struct i2c_client *client)
+static int at24_remove(struct i2c_client *client)
 {
 	struct at24_data *at24;
 	int i;
drivers/misc/eeprom/at25.c +1 -1
index fcb237e..b08cf8a 100644
@@ -459,7 +459,7 @@ fail:
 	return err;
 }
 
-static int __devexit at25_remove(struct spi_device *spi)
+static int at25_remove(struct spi_device *spi)
 {
 	struct at25_data	*at25;
 
drivers/misc/eeprom/eeprom_93xx46.c +1 -1
index 3dd9005..a6b5d5e 100644
@@ -370,7 +370,7 @@ fail:
 	return err;
 }
 
-static int __devexit eeprom_93xx46_remove(struct spi_device *spi)
+static int eeprom_93xx46_remove(struct spi_device *spi)
 {
 	struct eeprom_93xx46_dev *edev = dev_get_drvdata(&spi->dev);
 
drivers/misc/fsa9480.c +1 -1
index 2baa52f..e8cbb1c 100644
@@ -462,7 +462,7 @@ fail1:
 	return ret;
 }
 
-static int __devexit fsa9480_remove(struct i2c_client *client)
+static int fsa9480_remove(struct i2c_client *client)
 {
 	struct fsa9480_usbsw *usbsw = i2c_get_clientdata(client);
 	if (client->irq)
drivers/misc/ibmasm/module.c +1 -1
index 380e429..0346d87 100644
@@ -163,7 +163,7 @@ error_resources:
 	return result;
 }
 
-static void __devexit ibmasm_remove_one(struct pci_dev *pdev)
+static void ibmasm_remove_one(struct pci_dev *pdev)
 {
 	struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev);
 
drivers/misc/ioc4.c +1 -1
index 3ef92dc..06f6ad2 100644
@@ -415,7 +415,7 @@ out:
 }
 
 /* Removes a particular instance of an IOC4 card. */
-static void __devexit
+static void
 ioc4_remove(struct pci_dev *pdev)
 {
 	struct ioc4_submodule *is;
drivers/misc/isl29003.c +1 -1
index 9fd4c0c..29b306c 100644
@@ -401,7 +401,7 @@ exit_kfree:
 	return err;
 }
 
-static int __devexit isl29003_remove(struct i2c_client *client)
+static int isl29003_remove(struct i2c_client *client)
 {
 	sysfs_remove_group(&client->dev.kobj, &isl29003_attr_group);
 	isl29003_set_power_state(client, 0);
drivers/misc/lis3lv02d/lis3lv02d_i2c.c +1 -1
index 66f0483..7c97550 100644
@@ -191,7 +191,7 @@ fail:
 	return ret;
 }
 
-static int __devexit lis3lv02d_i2c_remove(struct i2c_client *client)
+static int lis3lv02d_i2c_remove(struct i2c_client *client)
 {
 	struct lis3lv02d *lis3 = i2c_get_clientdata(client);
 	struct lis3lv02d_platform_data *pdata = client->dev.platform_data;
drivers/misc/lis3lv02d/lis3lv02d_spi.c +1 -1
index 66a751d..9aa2bd2 100644
@@ -100,7 +100,7 @@ static int lis302dl_spi_probe(struct spi_device *spi)
 	return lis3lv02d_init_device(&lis3_dev);
 }
 
-static int __devexit lis302dl_spi_remove(struct spi_device *spi)
+static int lis302dl_spi_remove(struct spi_device *spi)
 {
 	struct lis3lv02d *lis3 = spi_get_drvdata(spi);
 	lis3lv02d_joystick_disable(lis3);
drivers/misc/mei/main.c +1 -1
index 3cca356..b07df4a 100644
@@ -993,7 +993,7 @@ end:
  * mei_remove is called by the PCI subsystem to alert the driver
  * that it should release a PCI device.
  */
-static void __devexit mei_remove(struct pci_dev *pdev)
+static void mei_remove(struct pci_dev *pdev)
 {
 	struct mei_device *dev;
 
drivers/misc/pch_phub.c +1 -1
index 3896cff..931e635 100644
@@ -819,7 +819,7 @@ err_pci_enable_dev:
 	return ret;
 }
 
-static void __devexit pch_phub_remove(struct pci_dev *pdev)
+static void pch_phub_remove(struct pci_dev *pdev)
 {
 	struct pch_phub_reg *chip = pci_get_drvdata(pdev);
 
drivers/misc/phantom.c +1 -1
index 0357763..68b7c77 100644
@@ -435,7 +435,7 @@ err:
 	return retval;
 }
 
-static void __devexit phantom_remove(struct pci_dev *pdev)
+static void phantom_remove(struct pci_dev *pdev)
 {
 	struct phantom_device *pht = pci_get_drvdata(pdev);
 	unsigned int minor = MINOR(pht->cdev.dev);
drivers/misc/pti.c +1 -1
index 37d4b5e..7003031 100644
@@ -879,7 +879,7 @@ err:
  *		   PCI bus.
  * @pdev: variable containing pci info of PTI.
  */
-static void __devexit pti_pci_remove(struct pci_dev *pdev)
+static void pti_pci_remove(struct pci_dev *pdev)
 {
 	struct pti_dev *drv_data = pci_get_drvdata(pdev);
 
drivers/misc/spear13xx_pcie_gadget.c +1 -1
index 7850320..7deb25d 100644
@@ -853,7 +853,7 @@ err_rel_res0:
 	return status;
 }
 
-static int __devexit spear_pcie_gadget_remove(struct platform_device *pdev)
+static int spear_pcie_gadget_remove(struct platform_device *pdev)
 {
 	struct resource *res0, *res1;
 	static struct pcie_gadget_target *target;
drivers/misc/ti_dac7512.c +1 -1
index 1222f86..1d86407 100644
@@ -67,7 +67,7 @@ static int dac7512_probe(struct spi_device *spi)
 	return sysfs_create_group(&spi->dev.kobj, &dac7512_attr_group);
 }
 
-static int __devexit dac7512_remove(struct spi_device *spi)
+static int dac7512_remove(struct spi_device *spi)
 {
 	sysfs_remove_group(&spi->dev.kobj, &dac7512_attr_group);
 	return 0;
drivers/misc/tsl2550.c +1 -1
index 18bce70..1e7bc0e 100644
@@ -405,7 +405,7 @@ exit:
 	return err;
 }
 
-static int __devexit tsl2550_remove(struct i2c_client *client)
+static int tsl2550_remove(struct i2c_client *client)
 {
 	sysfs_remove_group(&client->dev.kobj, &tsl2550_attr_group);
 
Signature · 1 line
1.8.0
#32 lore raw

PATCH 3/493 Input: serio - remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/input/serio/serio.c | 11 -----------
 1 file changed, 11 deletions(-)
drivers/input/serio/serio.c +0 -11
index d0f7533..25fc597 100644
@@ -891,8 +891,6 @@ static int serio_bus_match(struct device *dev, struct device_driver *drv)
 	return serio_match_port(serio_drv->id_table, serio);
 }
 
-#ifdef CONFIG_HOTPLUG
-
 #define SERIO_ADD_UEVENT_VAR(fmt, val...)				\
 	do {								\
 		int err = add_uevent_var(env, fmt, val);		\
@@ -920,15 +918,6 @@ static int serio_uevent(struct device *dev, struct kobj_uevent_env *env)
 }
 #undef SERIO_ADD_UEVENT_VAR
 
-#else
-
-static int serio_uevent(struct device *dev, struct kobj_uevent_env *env)
-{
-	return -ENODEV;
-}
-
-#endif /* CONFIG_HOTPLUG */
-
 #ifdef CONFIG_PM
 static int serio_suspend(struct device *dev)
 {
Signature · 1 line
1.8.0
#33 lore raw

PATCH 8/493 zorro: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/zorro/zorro-driver.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/zorro/zorro-driver.c +0 -4
index 229624f..ac1db7f 100644
@@ -142,7 +142,6 @@ static int zorro_bus_match(struct device *dev, struct device_driver *drv)
 
 static int zorro_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
-#ifdef CONFIG_HOTPLUG
 	struct zorro_dev *z;
 
 	if (!dev)
@@ -159,9 +158,6 @@ static int zorro_uevent(struct device *dev, struct kobj_uevent_env *env)
 		return -ENOMEM;
 
 	return 0;
-#else /* !CONFIG_HOTPLUG */
-	return -ENODEV;
-#endif /* !CONFIG_HOTPLUG */
 }
 
 struct bus_type zorro_bus_type = {
Signature · 1 line
1.8.0
#34 lore raw

PATCH 10/493 isdn: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 drivers/isdn/hisax/config.c     | 3 ---
 drivers/isdn/hisax/hfc4s8s_l1.c | 8 --------
 drivers/isdn/mISDN/core.c       | 4 ----
 3 files changed, 15 deletions(-)
drivers/isdn/hisax/config.c +0 -3
index b5edc0e..386f544 100644
@@ -1547,8 +1547,6 @@ static void __exit HiSax_exit(void)
 	printk(KERN_INFO "HiSax module removed\n");
 }
 
-#ifdef CONFIG_HOTPLUG
-
 int __devinit hisax_init_pcmcia(void *pcm_iob, int *busy_flag, struct IsdnCard *card)
 {
 	u_char ids[16];
@@ -1570,7 +1568,6 @@ error:
 }
 
 EXPORT_SYMBOL(hisax_init_pcmcia);
-#endif
 
 EXPORT_SYMBOL(HiSax_closecard);
 
drivers/isdn/hisax/hfc4s8s_l1.c +0 -8
index dea04de..f794850 100644
@@ -1688,14 +1688,6 @@ hfc4s8s_module_init(void)
 	}
 	printk(KERN_INFO "HFC-4S/8S: found %d cards\n", card_cnt);
 
-#if !defined(CONFIG_HOTPLUG)
-	if (err == 0) {
-		err = -ENODEV;
-		pci_unregister_driver(&hfc4s8s_driver);
-		goto out;
-	}
-#endif
-
 	return 0;
 out:
 	return (err);
drivers/isdn/mISDN/core.c +0 -4
index c401634..3e24571 100644
@@ -140,7 +140,6 @@ static struct device_attribute mISDN_dev_attrs[] = {
 	{}
 };
 
-#ifdef CONFIG_HOTPLUG
 static int mISDN_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
 	struct mISDNdevice *mdev = dev_to_mISDN(dev);
@@ -153,7 +152,6 @@ static int mISDN_uevent(struct device *dev, struct kobj_uevent_env *env)
 
 	return 0;
 }
-#endif
 
 static void mISDN_class_release(struct class *cls)
 {
@@ -163,9 +161,7 @@ static void mISDN_class_release(struct class *cls)
 static struct class mISDN_class = {
 	.name = "mISDN",
 	.owner = THIS_MODULE,
-#ifdef CONFIG_HOTPLUG
 	.dev_uevent = mISDN_uevent,
-#endif
 	.dev_attrs = mISDN_dev_attrs,
 	.dev_release = mISDN_dev_release,
 	.class_release = mISDN_class_release,
Signature · 1 line
1.8.0
#35 lore raw

PATCH 14/493 PCI: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 arch/microblaze/pci/pci-common.c |  4 ----
 arch/mips/pci/pci.c              |  2 --
 arch/powerpc/kernel/pci-common.c |  4 ----
 arch/powerpc/kernel/pci_64.c     |  4 ----
 arch/sh/drivers/pci/pci.c        |  2 --
 arch/unicore32/kernel/pci.c      |  2 --
 drivers/pci/pci-driver.c         | 15 ---------------
 drivers/pci/pci-sysfs.c          |  7 -------
 drivers/pci/pci.h                |  4 ----
 drivers/pci/probe.c              |  2 --
 include/linux/pci.h              |  2 --
 11 files changed, 48 deletions(-)
arch/microblaze/pci/pci-common.c +0 -4
index 4dbb505..a1c5b99 100644
@@ -1346,8 +1346,6 @@ void __init pcibios_resource_survey(void)
 	pci_assign_unassigned_resources();
 }
 
-#ifdef CONFIG_HOTPLUG
-
 /* This is used by the PCI hotplug driver to allocate resource
  * of newly plugged busses. We can try to consolidate with the
  * rest of the code later, for now, keep it as-is as our main
@@ -1407,8 +1405,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus)
 }
 EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);
 
-#endif /* CONFIG_HOTPLUG */
-
 int pcibios_enable_device(struct pci_dev *dev, int mask)
 {
 	return pci_enable_resources(dev, mask);
arch/mips/pci/pci.c +0 -2
index 04e35bc..4040416 100644
@@ -313,10 +313,8 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
 	}
 }
 
-#ifdef CONFIG_HOTPLUG
 EXPORT_SYMBOL(PCIBIOS_MIN_IO);
 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
-#endif
 
 int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
 			enum pci_mmap_state mmap_state, int write_combine)
arch/powerpc/kernel/pci-common.c +0 -4
index 7f94f76..abc0d08 100644
@@ -1428,8 +1428,6 @@ void __init pcibios_resource_survey(void)
 		ppc_md.pcibios_fixup();
 }
 
-#ifdef CONFIG_HOTPLUG
-
 /* This is used by the PCI hotplug driver to allocate resource
  * of newly plugged busses. We can try to consolidate with the
  * rest of the code later, for now, keep it as-is as our main
@@ -1488,8 +1486,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus)
 }
 EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);
 
-#endif /* CONFIG_HOTPLUG */
-
 int pcibios_enable_device(struct pci_dev *dev, int mask)
 {
 	if (ppc_md.pcibios_enable_device_hook)
arch/powerpc/kernel/pci_64.c +0 -4
index 4ff190f..2cbe676 100644
@@ -74,8 +74,6 @@ static int __init pcibios_init(void)
 
 subsys_initcall(pcibios_init);
 
-#ifdef CONFIG_HOTPLUG
-
 int pcibios_unmap_io_space(struct pci_bus *bus)
 {
 	struct pci_controller *hose;
@@ -124,8 +122,6 @@ int pcibios_unmap_io_space(struct pci_bus *bus)
 }
 EXPORT_SYMBOL_GPL(pcibios_unmap_io_space);
 
-#endif /* CONFIG_HOTPLUG */
-
 static int __devinit pcibios_map_phb_io_space(struct pci_controller *hose)
 {
 	struct vm_struct *area;
arch/sh/drivers/pci/pci.c +0 -2
index a7e078f..81e5daf 100644
@@ -319,7 +319,5 @@ EXPORT_SYMBOL(pci_iounmap);
 
 #endif /* CONFIG_GENERIC_IOMAP */
 
-#ifdef CONFIG_HOTPLUG
 EXPORT_SYMBOL(PCIBIOS_MIN_IO);
 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
-#endif
arch/unicore32/kernel/pci.c +0 -2
index b0056f6..7c43592 100644
@@ -250,9 +250,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
 	printk(KERN_INFO "PCI: bus%d: Fast back to back transfers %sabled\n",
 		bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis");
 }
-#ifdef CONFIG_HOTPLUG
 EXPORT_SYMBOL(pcibios_fixup_bus);
-#endif
 
 static int __init pci_common_init(void)
 {
drivers/pci/pci-driver.c +0 -15
index 24aa44c..498e66a 100644
@@ -89,10 +89,6 @@ static void pci_free_dynids(struct pci_driver *drv)
 	spin_unlock(&drv->dynids.lock);
 }
 
-/*
- * Dynamic device ID manipulation via sysfs is disabled for !CONFIG_HOTPLUG
- */
-#ifdef CONFIG_HOTPLUG
 /**
  * store_new_id - sysfs frontend to pci_add_dynid()
  * @driver: target device driver
@@ -191,10 +187,6 @@ static struct driver_attribute pci_drv_attrs[] = {
 	__ATTR_NULL,
 };
 
-#else
-#define pci_drv_attrs	NULL
-#endif /* CONFIG_HOTPLUG */
-
 /**
  * pci_match_id - See if a pci device matches a given pci_id table
  * @ids: array of PCI device id structures to search in
@@ -1223,13 +1215,6 @@ void pci_dev_put(struct pci_dev *dev)
 		put_device(&dev->dev);
 }
 
-#ifndef CONFIG_HOTPLUG
-int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
-{
-	return -ENODEV;
-}
-#endif
-
 struct bus_type pci_bus_type = {
 	.name		= "pci",
 	.match		= pci_bus_match,
drivers/pci/pci-sysfs.c +0 -7
index 5d883a1..05b78b1 100644
@@ -284,7 +284,6 @@ msi_bus_store(struct device *dev, struct device_attribute *attr,
 	return count;
 }
 
-#ifdef CONFIG_HOTPLUG
 static DEFINE_MUTEX(pci_remove_rescan_mutex);
 static ssize_t bus_rescan_store(struct bus_type *bus, const char *buf,
 				size_t count)
@@ -377,8 +376,6 @@ dev_bus_rescan_store(struct device *dev, struct device_attribute *attr,
 	return count;
 }
 
-#endif
-
 #if defined(CONFIG_PM_RUNTIME) && defined(CONFIG_ACPI)
 static ssize_t d3cold_allowed_store(struct device *dev,
 				    struct device_attribute *attr,
@@ -524,10 +521,8 @@ struct device_attribute pci_dev_attrs[] = {
 	__ATTR(broken_parity_status,(S_IRUGO|S_IWUSR),
 		broken_parity_status_show,broken_parity_status_store),
 	__ATTR(msi_bus, 0644, msi_bus_show, msi_bus_store),
-#ifdef CONFIG_HOTPLUG
 	__ATTR(remove, (S_IWUSR|S_IWGRP), NULL, remove_store),
 	__ATTR(rescan, (S_IWUSR|S_IWGRP), NULL, dev_rescan_store),
-#endif
 #if defined(CONFIG_PM_RUNTIME) && defined(CONFIG_ACPI)
 	__ATTR(d3cold_allowed, 0644, d3cold_allowed_show, d3cold_allowed_store),
 #endif
@@ -535,9 +530,7 @@ struct device_attribute pci_dev_attrs[] = {
 };
 
 struct device_attribute pcibus_dev_attrs[] = {
-#ifdef CONFIG_HOTPLUG
 	__ATTR(rescan, (S_IWUSR|S_IWGRP), NULL, dev_bus_rescan_store),
-#endif
 	__ATTR(cpuaffinity, S_IRUGO, pci_bus_show_cpumaskaffinity, NULL),
 	__ATTR(cpulistaffinity, S_IRUGO, pci_bus_show_cpulistaffinity, NULL),
 	__ATTR_NULL,
drivers/pci/pci.h +0 -4
index 11a713b..ae06da4 100644
@@ -160,11 +160,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev)
 extern struct device_attribute pci_dev_attrs[];
 extern struct device_attribute pcibus_dev_attrs[];
 extern struct device_type pci_dev_type;
-#ifdef CONFIG_HOTPLUG
 extern struct bus_attribute pci_bus_attrs[];
-#else
-#define pci_bus_attrs	NULL
-#endif
 
 
 /**
drivers/pci/probe.c +0 -2
index 293af5a..3d17641 100644
@@ -1865,7 +1865,6 @@ struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops,
 }
 EXPORT_SYMBOL(pci_scan_bus);
 
-#ifdef CONFIG_HOTPLUG
 /**
  * pci_rescan_bus_bridge_resize - scan a PCI bus for devices.
  * @bridge: PCI bridge for the bus to scan
@@ -1917,7 +1916,6 @@ EXPORT_SYMBOL(pci_add_new_bus);
 EXPORT_SYMBOL(pci_scan_slot);
 EXPORT_SYMBOL(pci_scan_bridge);
 EXPORT_SYMBOL_GPL(pci_scan_child_bus);
-#endif
 
 static int __init pci_sort_bf_cmp(const struct device *d_a, const struct device *d_b)
 {
include/linux/pci.h +0 -2
index 5b37d64..9f99c59 100644
@@ -944,10 +944,8 @@ void set_pcie_hotplug_bridge(struct pci_dev *pdev);
 
 /* Functions for PCI Hotplug drivers to use */
 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
-#ifdef CONFIG_HOTPLUG
 unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge);
 unsigned int pci_rescan_bus(struct pci_bus *bus);
-#endif
 
 /* Vital product data routines */
 ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf);
Signature · 1 line
1.8.0
#36 lore raw

PATCH 15/493 PCI: move pci_uevent into pci-driver.c

In reply to a message not in the archive

With the demise of CONFIG_HOTPLUG as an option, the pci_uevent function located in hotplug.c will now always be used and doesn't need special treatment in the Makefile. Move pci_uevent into pci-driver.c and remove hotplug.c

---
 drivers/pci/Makefile     |  2 --
 drivers/pci/hotplug.c    | 37 -------------------------------------
 drivers/pci/pci-driver.c | 33 +++++++++++++++++++++++++++++++++
 drivers/pci/pci.h        |  1 -
 4 files changed, 33 insertions(+), 40 deletions(-)
 delete mode 100644 drivers/pci/hotplug.c
drivers/pci/Makefile +0 -2
index 8d688b2..36f119d 100644
@@ -15,8 +15,6 @@ obj-$(CONFIG_PCIEPORTBUS) += pcie/
 
 obj-$(CONFIG_PCI_IOAPIC) += ioapic.o
 
-obj-$(CONFIG_HOTPLUG) += hotplug.o
-
 # Build the PCI Hotplug drivers if we were asked to
 obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
 ifdef CONFIG_HOTPLUG_PCI
drivers/pci/hotplug.c deleted +0 -37
deleted file mode 100644
index 2b5352a..0000000
@@ -1,37 +0,0 @@
-#include <linux/kernel.h>
-#include <linux/pci.h>
-#include <linux/module.h>
-#include "pci.h"
-
-int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
-{
-	struct pci_dev *pdev;
-
-	if (!dev)
-		return -ENODEV;
-
-	pdev = to_pci_dev(dev);
-	if (!pdev)
-		return -ENODEV;
-
-	if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class))
-		return -ENOMEM;
-
-	if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device))
-		return -ENOMEM;
-
-	if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor,
-			   pdev->subsystem_device))
-		return -ENOMEM;
-
-	if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev)))
-		return -ENOMEM;
-
-	if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
-			   pdev->vendor, pdev->device,
-			   pdev->subsystem_vendor, pdev->subsystem_device,
-			   (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
-			   (u8)(pdev->class)))
-		return -ENOMEM;
-	return 0;
-}
drivers/pci/pci-driver.c +33 -0
index 498e66a..f7b96cb 100644
@@ -1215,6 +1215,39 @@ void pci_dev_put(struct pci_dev *dev)
 		put_device(&dev->dev);
 }
 
+static int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
+{
+	struct pci_dev *pdev;
+
+	if (!dev)
+		return -ENODEV;
+
+	pdev = to_pci_dev(dev);
+	if (!pdev)
+		return -ENODEV;
+
+	if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class))
+		return -ENOMEM;
+
+	if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device))
+		return -ENOMEM;
+
+	if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor,
+			   pdev->subsystem_device))
+		return -ENOMEM;
+
+	if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev)))
+		return -ENOMEM;
+
+	if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
+			   pdev->vendor, pdev->device,
+			   pdev->subsystem_vendor, pdev->subsystem_device,
+			   (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
+			   (u8)(pdev->class)))
+		return -ENOMEM;
+	return 0;
+}
+
 struct bus_type pci_bus_type = {
 	.name		= "pci",
 	.match		= pci_bus_match,
drivers/pci/pci.h +0 -1
index ae06da4..e851829 100644
@@ -8,7 +8,6 @@
 
 /* Functions internal to the PCI core code */
 
-extern int pci_uevent(struct device *dev, struct kobj_uevent_env *env);
 extern int pci_create_sysfs_dev_files(struct pci_dev *pdev);
 extern void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
 #if !defined(CONFIG_DMI) && !defined(CONFIG_ACPI)
Signature · 1 line
1.8.0
#37 lore raw

PATCH 16/493 PCI: always build setup-bus when PCI is enabled

In reply to a message not in the archive

CONFIG_HOTPLUG is being removed so setup-bus always needs to be built as part of PCI.

---
 drivers/pci/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/pci/Makefile +1 -4
index 36f119d..0c3efcf 100644
@@ -4,7 +4,7 @@
 
 obj-y		+= access.o bus.o probe.o host-bridge.o remove.o pci.o \
 			pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
-			irq.o vpd.o
+			irq.o vpd.o setup-bus.o
 obj-$(CONFIG_PROC_FS) += proc.o
 obj-$(CONFIG_SYSFS) += slot.o
 
@@ -58,9 +58,6 @@ obj-$(CONFIG_ACPI)    += pci-acpi.o
 # SMBIOS provided firmware instance and labels
 obj-$(CONFIG_PCI_LABEL) += pci-label.o
 
-# Cardbus & CompactPCI use setup-bus
-obj-$(CONFIG_HOTPLUG) += setup-bus.o
-
 obj-$(CONFIG_PCI_SYSCALL) += syscall.o
 
 obj-$(CONFIG_PCI_STUB) += pci-stub.o
Signature · 1 line
1.8.0
maintainer
#38 lore raw

Re: [PATCH 016/493] PCI: always build setup-bus when PCI is enabled

Quoted 5 lines · Bill Pemberton

CONFIG_HOTPLUG is being removed so setup-bus always needs to be built as part of PCI.

These all look fine to me. Please make the changelog subjects consistently capitalize the "PCI" acronym and also the first word of the rest, e.g., "PCI: Always ..."

If you want me to take them through my PCI tree, I can, but I assume Greg is going to take them through the driver core tree, and that's fine with me.

FWIW, I agree with Grant Likely's comments about squashing the devinit/devexit/etc patches. That would be fine with me.

Quoted 34 lines
---
 drivers/pci/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/pci/Makefile +1 -5
index 36f119d..0c3efcf 100644
@@ -4,7 +4,7 @@
 
 obj-y          += access.o bus.o probe.o host-bridge.o remove.o pci.o \
                        pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
-                       irq.o vpd.o
+                       irq.o vpd.o setup-bus.o
 obj-$(CONFIG_PROC_FS) += proc.o
 obj-$(CONFIG_SYSFS) += slot.o
 
@@ -58,9 +58,6 @@ obj-$(CONFIG_ACPI)    += pci-acpi.o
 # SMBIOS provided firmware instance and labels
 obj-$(CONFIG_PCI_LABEL) += pci-label.o
 
-# Cardbus & CompactPCI use setup-bus
-obj-$(CONFIG_HOTPLUG) += setup-bus.o
-
 obj-$(CONFIG_PCI_SYSCALL) += syscall.o
 
 obj-$(CONFIG_PCI_STUB) += pci-stub.o
--

1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#39 lore raw

Re: [PATCH 016/493] PCI: always build setup-bus when PCI is enabled

Quoted 12 lines · Bjorn Helgaas
Quoted 5 lines · Bill Pemberton

CONFIG_HOTPLUG is being removed so setup-bus always needs to be built as part of PCI.

These all look fine to me. Please make the changelog subjects consistently capitalize the "PCI" acronym and also the first word of the rest, e.g., "PCI: Always ..."

Quoted 6 lines

If you want me to take them through my PCI tree, I can, but I assume Greg is going to take them through the driver core tree, and that's fine with me.

FWIW, I agree with Grant Likely's comments about squashing the devinit/devexit/etc patches. That would be fine with me.

The plan was for them to go through Greg's driver core tree.

I'll redo the PCI related ones as you've requested and resend them. I probably won't be able to get to it until tomorrow though.

Signature · 1 line
Bill
#40 lore raw

PATCH 17/493 wireless: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

Cc Johannes Berg <[email protected]>
Cc "John W. Linville" <[email protected]>
Cc "David S. Miller" <[email protected]>
---
 net/wireless/reg.c   | 7 -------
 net/wireless/sysfs.c | 4 ----
 2 files changed, 11 deletions(-)
net/wireless/reg.c +0 -7
index b75756b..d3768a3 100644
@@ -2365,7 +2365,6 @@ int set_regdom(const struct ieee80211_regdomain *rd)
 	return r;
 }
 
-#ifdef CONFIG_HOTPLUG
 int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
 	if (last_request && !last_request->processed) {
@@ -2377,12 +2376,6 @@ int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env)
 
 	return 0;
 }
-#else
-int reg_device_uevent(struct device *dev, struct kobj_uevent_env *env)
-{
-	return -ENODEV;
-}
-#endif /* CONFIG_HOTPLUG */
 
 void wiphy_regulatory_register(struct wiphy *wiphy)
 {
net/wireless/sysfs.c +0 -4
index 9bf6d5e..1f6f01e 100644
@@ -77,13 +77,11 @@ static void wiphy_dev_release(struct device *dev)
 	cfg80211_dev_free(rdev);
 }
 
-#ifdef CONFIG_HOTPLUG
 static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
 	/* TODO, we probably need stuff here */
 	return 0;
 }
-#endif
 
 static int wiphy_suspend(struct device *dev, pm_message_t state)
 {
@@ -134,9 +132,7 @@ struct class ieee80211_class = {
 	.owner = THIS_MODULE,
 	.dev_release = wiphy_dev_release,
 	.dev_attrs = ieee80211_dev_attrs,
-#ifdef CONFIG_HOTPLUG
 	.dev_uevent = wiphy_uevent,
-#endif
 	.suspend = wiphy_suspend,
 	.resume = wiphy_resume,
 	.ns_type = &net_ns_type_operations,
Signature · 1 line
1.8.0
#41 lore raw

PATCH 18/493 net: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 net/core/net-sysfs.c | 4 ----
 1 file changed, 4 deletions(-)
net/core/net-sysfs.c +0 -4
index bcf02f6..adcb1b5 100644
@@ -1320,7 +1320,6 @@ struct kobj_ns_type_operations net_ns_type_operations = {
 };
 EXPORT_SYMBOL_GPL(net_ns_type_operations);
 
-#ifdef CONFIG_HOTPLUG
 static int netdev_uevent(struct device *d, struct kobj_uevent_env *env)
 {
 	struct net_device *dev = to_net_dev(d);
@@ -1339,7 +1338,6 @@ static int netdev_uevent(struct device *d, struct kobj_uevent_env *env)
 exit:
 	return retval;
 }
-#endif
 
 /*
  *	netdev_release -- destroy and free a dead device.
@@ -1368,9 +1366,7 @@ static struct class net_class = {
 #ifdef CONFIG_SYSFS
 	.dev_attrs = net_class_attributes,
 #endif /* CONFIG_SYSFS */
-#ifdef CONFIG_HOTPLUG
 	.dev_uevent = netdev_uevent,
-#endif
 	.ns_type = &net_ns_type_operations,
 	.namespace = net_namespace,
 };
Signature · 1 line
1.8.0
#42 lore raw

PATCH 19/493 mm: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 include/linux/vmstat.h | 6 ------
 mm/vmstat.c            | 2 --
 2 files changed, 8 deletions(-)
include/linux/vmstat.h +0 -6
index 92a86b2..d472dd8 100644
@@ -48,13 +48,7 @@ static inline void count_vm_events(enum vm_event_item item, long delta)
 }
 
 extern void all_vm_events(unsigned long *);
-#ifdef CONFIG_HOTPLUG
 extern void vm_events_fold_cpu(int cpu);
-#else
-static inline void vm_events_fold_cpu(int cpu)
-{
-}
-#endif
 
 #else
 
mm/vmstat.c +0 -2
index 34bf80b..a999171 100644
@@ -52,7 +52,6 @@ void all_vm_events(unsigned long *ret)
 }
 EXPORT_SYMBOL_GPL(all_vm_events);
 
-#ifdef CONFIG_HOTPLUG
 /*
  * Fold the foreign cpu events into our own.
  *
@@ -69,7 +68,6 @@ void vm_events_fold_cpu(int cpu)
 		fold_state->event[i] = 0;
 	}
 }
-#endif /* CONFIG_HOTPLUG */
 
 #endif /* CONFIG_VM_EVENT_COUNTERS */
 
Signature · 7 lines
1.8.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#43 lore raw

PATCH 22/493 ARM: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 arch/arm/kernel/bios32.c          | 4 ++--
 arch/arm/kernel/vmlinux.lds.S     | 2 --
 include/asm-generic/vmlinux.lds.h | 5 -----
 3 files changed, 2 insertions(+), 9 deletions(-)
arch/arm/kernel/bios32.c +2 -2
index 9b72261..f136307 100644
@@ -361,9 +361,9 @@ void pcibios_fixup_bus(struct pci_bus *bus)
 	printk(KERN_INFO "PCI: bus%d: Fast back to back transfers %sabled\n",
 		bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis");
 }
-#ifdef CONFIG_HOTPLUG
+
 EXPORT_SYMBOL(pcibios_fixup_bus);
-#endif
+
 
 /*
  * Swizzle the device pin each time we cross a bridge.  If a platform does
arch/arm/kernel/vmlinux.lds.S +0 -2
index b9f38e3..38279fe 100644
@@ -66,10 +66,8 @@ SECTIONS
 		ARM_EXIT_DISCARD(EXIT_TEXT)
 		ARM_EXIT_DISCARD(EXIT_DATA)
 		EXIT_CALL
-#ifndef CONFIG_HOTPLUG
 		*(.ARM.exidx.devexit.text)
 		*(.ARM.extab.devexit.text)
-#endif
 #ifndef CONFIG_MMU
 		*(.fixup)
 		*(__ex_table)
include/asm-generic/vmlinux.lds.h +0 -5
index d1ea7ce..856b58d 100644
@@ -74,13 +74,8 @@
  * are handled as text/data or they can be discarded (which
  * often happens at runtime)
  */
-#ifdef CONFIG_HOTPLUG
 #define DEV_KEEP(sec)    *(.dev##sec)
 #define DEV_DISCARD(sec)
-#else
-#define DEV_KEEP(sec)
-#define DEV_DISCARD(sec) *(.dev##sec)
-#endif
 
 #ifdef CONFIG_HOTPLUG_CPU
 #define CPU_KEEP(sec)    *(.cpu##sec)
Signature · 1 line
1.8.0
#44 lore raw

Re: [PATCH 022/493] ARM: remove CONFIG_HOTPLUG ifdefs

arch/arm/kernel/bios32.c void pcibios_fixup_bus(struct pci_bus *bus) · line 366

Quoted 13 lines · Bill Pemberton
arch/arm/kernel/bios32.c +2 -2
index 9b72261..f136307 100644
@@ -361,9 +361,9 @@ void pcibios_fixup_bus(struct pci_bus *bus)
 	printk(KERN_INFO "PCI: bus%d: Fast back to back transfers %sabled\n",
 		bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis");
 }
-#ifdef CONFIG_HOTPLUG
+
 EXPORT_SYMBOL(pcibios_fixup_bus);
-#endif
+

This looks fine.

arch/arm/kernel/vmlinux.lds.S SECTIONS · line 72

Quoted 12 lines
arch/arm/kernel/vmlinux.lds.S +0 -2
index b9f38e3..38279fe 100644
@@ -66,10 +66,8 @@ SECTIONS
 		ARM_EXIT_DISCARD(EXIT_TEXT)
 		ARM_EXIT_DISCARD(EXIT_DATA)
 		EXIT_CALL
-#ifndef CONFIG_HOTPLUG
 		*(.ARM.exidx.devexit.text)
 		*(.ARM.extab.devexit.text)
-#endif

This to me looks wrong. Do we want to unconditionally discard devexit debugging?

include/asm-generic/vmlinux.lds.h line 78

Quoted 11 lines
include/asm-generic/vmlinux.lds.h +0 -1
index d1ea7ce..856b58d 100644
@@ -74,13 +74,8 @@
  * are handled as text/data or they can be discarded (which
  * often happens at runtime)
  */
-#ifdef CONFIG_HOTPLUG
 #define DEV_KEEP(sec)    *(.dev##sec)
 #define DEV_DISCARD(sec)

I hope there will be a follow-on patch to remove the DEV_KEEP() and DEV_DISCARD() stuff entirely?

#45 lore raw

Re: [PATCH 022/493] ARM: remove CONFIG_HOTPLUG ifdefs

Quoted 17 lines · Russell King - ARM Linux

arch/arm/kernel/vmlinux.lds.S SECTIONS · line 72

Quoted 13 lines
arch/arm/kernel/vmlinux.lds.S +0 -2
index b9f38e3..38279fe 100644
@@ -66,10 +66,8 @@ SECTIONS
 		ARM_EXIT_DISCARD(EXIT_TEXT)
 		ARM_EXIT_DISCARD(EXIT_DATA)
 		EXIT_CALL
-#ifndef CONFIG_HOTPLUG
 		*(.ARM.exidx.devexit.text)
 		*(.ARM.extab.devexit.text)
-#endif

This to me looks wrong. Do we want to unconditionally discard devexit debugging?

Whoa, yeah, that's not right. I got it backwards.

The right fix gets rid of all those devexit lines as devexit will be going away.

Should I just redo this patch or send an additional one that removes those 2 lines?

Quoted 6 lines
Quoted 6 lines
include/asm-generic/vmlinux.lds.h +0 -0
index d1ea7ce..856b58d 100644
@@ -74,13 +74,8 @@
  * are handled as text/data or they can be discarded (which
Quoted 9 lines

include/asm-generic/vmlinux.lds.h line 78

Quoted 5 lines
include/asm-generic/vmlinux.lds.h +0 -1
  * often happens at runtime)
  */
-#ifdef CONFIG_HOTPLUG
 #define DEV_KEEP(sec)    *(.dev##sec)
 #define DEV_DISCARD(sec)

I hope there will be a follow-on patch to remove the DEV_KEEP() and DEV_DISCARD() stuff entirely?

Yes, once hotplug is truly gone these can also go away.

Signature · 1 line
Bill
#46 lore raw

PATCH 24/493 powerpc: remove CONFIG_HOTPLUG ifdefs

In reply to a message not in the archive

Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option.

---
 arch/powerpc/mm/tlb_hash64.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
arch/powerpc/mm/tlb_hash64.c +2 -6
index ae758b3..841afee 100644
@@ -183,11 +183,9 @@ void tlb_flush(struct mmu_gather *tlb)
  * since 64K pages may overlap with other bridges when using 64K pages
  * with 4K HW pages on IO space.
  *
- * Because of that usage pattern, it's only available with CONFIG_HOTPLUG
- * and is implemented for small size rather than speed.
+ * Because of that usage pattern, it is implemented for small size
+ * rather than speed.
  */
-#ifdef CONFIG_HOTPLUG
-
 void __flush_hash_table_range(struct mm_struct *mm, unsigned long start,
 			      unsigned long end)
 {
@@ -221,5 +219,3 @@ void __flush_hash_table_range(struct mm_struct *mm, unsigned long start,
 	arch_leave_lazy_mmu_mode();
 	local_irq_restore(flags);
 }
-
-#endif /* CONFIG_HOTPLUG */
Signature · 1 line
1.8.0
#47 lore raw

PATCH 26/493 atm: remove use of __devexit_p in fore200e.c

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed, remove it.

Also fix the indentation for the initialization of the fore200e_pca_driver struct to make chkpatch happy.

---
 drivers/atm/fore200e.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/atm/fore200e.c +5 -5
index 361f5ae..c162162 100644
@@ -2707,7 +2707,7 @@ static struct platform_driver fore200e_sba_driver = {
 		.of_match_table = fore200e_sba_match,
 	},
 	.probe		= fore200e_sba_probe,
-	.remove		= __devexit_p(fore200e_sba_remove),
+	.remove		= fore200e_sba_remove,
 };
 #endif
 
@@ -2787,10 +2787,10 @@ static struct pci_device_id fore200e_pca_tbl[] = {
 MODULE_DEVICE_TABLE(pci, fore200e_pca_tbl);
 
 static struct pci_driver fore200e_pca_driver = {
-    .name =     "fore_200e",
-    .probe =    fore200e_pca_detect,
-    .remove =   __devexit_p(fore200e_pca_remove_one),
-    .id_table = fore200e_pca_tbl,
+	.name =	    "fore_200e",
+	.probe =    fore200e_pca_detect,
+	.remove =   fore200e_pca_remove_one,
+	.id_table = fore200e_pca_tbl,
 };
 #endif
 
Signature · 1 line
1.8.0
#48 lore raw

PATCH 27/493 media: remove use of __devexit_p in bt878.c

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed, remove it.

Also fix the indentation for the initialization of the bt878_pci_driver struct to make chkpatch happy.

---
 drivers/media/pci/bt8xx/bt878.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/media/pci/bt8xx/bt878.c +4 -4
index b34fa95..4225a79 100644
@@ -570,10 +570,10 @@ static void __devexit bt878_remove(struct pci_dev *pci_dev)
 }
 
 static struct pci_driver bt878_pci_driver = {
-      .name	= "bt878",
-      .id_table = bt878_pci_tbl,
-      .probe	= bt878_probe,
-      .remove	= __devexit_p(bt878_remove),
+	.name	  = "bt878",
+	.id_table = bt878_pci_tbl,
+	.probe	  = bt878_probe,
+	.remove   = bt878_remove,
 };
 
 /*******************************/
Signature · 1 line
1.8.0
#49 lore raw

PATCH 29/493 ethernet: remove use of __devexit_p in hydra.c

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed, remove it.

Also fix the indentation for the initialization of the hydra_driver struct to make chkpatch happy.

---
 drivers/net/ethernet/8390/hydra.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/8390/hydra.c +4 -4
index 5370c88..dac977f 100644
@@ -74,10 +74,10 @@ static struct zorro_device_id hydra_zorro_tbl[] __devinitdata = {
 MODULE_DEVICE_TABLE(zorro, hydra_zorro_tbl);
 
 static struct zorro_driver hydra_driver = {
-    .name	= "hydra",
-    .id_table	= hydra_zorro_tbl,
-    .probe	= hydra_init_one,
-    .remove	= __devexit_p(hydra_remove_one),
+	.name	  = "hydra",
+	.id_table = hydra_zorro_tbl,
+	.probe	  = hydra_init_one,
+	.remove   = hydra_remove_one,
 };
 
 static int __devinit hydra_init_one(struct zorro_dev *z,
Signature · 1 line
1.8.0
#50 lore raw

PATCH 30/493 ASoC: max98088: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed, remove it.

Also fix the indentation for the initialization of the max98088_i2c_driver struct to make chkpatch happy.

---
 sound/soc/codecs/max98088.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
sound/soc/codecs/max98088.c +7 -7
index 3264a51..b858264 100644
@@ -2098,13 +2098,13 @@ static const struct i2c_device_id max98088_i2c_id[] = {
 MODULE_DEVICE_TABLE(i2c, max98088_i2c_id);
 
 static struct i2c_driver max98088_i2c_driver = {
-       .driver = {
-               .name = "max98088",
-               .owner = THIS_MODULE,
-       },
-       .probe  = max98088_i2c_probe,
-       .remove = __devexit_p(max98088_i2c_remove),
-       .id_table = max98088_i2c_id,
+	.driver = {
+		.name = "max98088",
+		.owner = THIS_MODULE,
+	},
+	.probe  = max98088_i2c_probe,
+	.remove = max98088_i2c_remove,
+	.id_table = max98088_i2c_id,
 };
 
 module_i2c_driver(max98088_i2c_driver);
Signature · 1 line
1.8.0

A message that is not in the archive (sent off-list or not yet received): s5hfw44re0g.wl%[email protected]

Applied
#52 lore raw

Re: Forward: [PATCH 030/493] ASoC: max98088: remove use of __devexit_p

Quoted 10 lines · Takashi Iwai

In case you didn't receive it...

Date: Mon, 19 Nov 2012 13:19:39 -0500
From: Bill Pemberton <[email protected]>
To: [email protected]
Cc: Jaroslav Kysela <[email protected]>, Takashi Iwai <[email protected]>,
[email protected]
Subject: [PATCH 030/493] ASoC: max98088: remove use of __devexit_p
X-Mailer: git-send-email 1.8.0

Quoted 3 lines

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed, remove it.

Applied, but only because Takashi forwarded it to me. Like I said in reply to your other postings *AWALYS* send patches to maintainers.

#53 lore raw

PATCH 31/493 docbook: remove references to __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 Documentation/DocBook/media/v4l/driver.xml        |  2 +-
 Documentation/DocBook/writing-an-alsa-driver.tmpl | 12 ++++--------
 2 files changed, 5 insertions(+), 9 deletions(-)
Documentation/DocBook/media/v4l/driver.xml +1 -1
index eacafe3..cbfe8e3 100644
@@ -157,7 +157,7 @@ my_pci_driver = {
 	.id_table = my_pci_device_ids,
 
 	.probe    = my_probe,
-	.remove   = __devexit_p (my_remove),
+	.remove   = my_remove,
 
 	/* Power management functions. */
 	.suspend  = my_suspend,
Documentation/DocBook/writing-an-alsa-driver.tmpl +4 -8
index cab4ec5..ec40c05 100644
@@ -1200,7 +1200,7 @@
           .name = KBUILD_MODNAME,
           .id_table = snd_mychip_ids,
           .probe = snd_mychip_probe,
-          .remove = __devexit_p(snd_mychip_remove),
+          .remove = snd_mychip_remove,
   };
 
   /* module initialization */
@@ -1619,7 +1619,7 @@
           .name = KBUILD_MODNAME,
           .id_table = snd_mychip_ids,
           .probe = snd_mychip_probe,
-          .remove = __devexit_p(snd_mychip_remove),
+          .remove = snd_mychip_remove,
   };
 ]]>
           </programlisting>
@@ -1630,11 +1630,7 @@
         The <structfield>probe</structfield> and
       <structfield>remove</structfield> functions have already
       been defined in the previous sections.
-      The <structfield>remove</structfield> function should
-      be defined with the 
-      <function>__devexit_p()</function> macro, so that it's not
-      defined for built-in (and non-hot-pluggable) case. The
-      <structfield>name</structfield> 
+      The <structfield>name</structfield>
       field is the name string of this device. Note that you must not
       use a slash <quote>/</quote> in this string. 
       </para>
@@ -5825,7 +5821,7 @@ struct _snd_pcm_runtime {
           .name = KBUILD_MODNAME,
           .id_table = snd_my_ids,
           .probe = snd_my_probe,
-          .remove = __devexit_p(snd_my_remove),
+          .remove = snd_my_remove,
   #ifdef CONFIG_PM
           .suspend = snd_my_suspend,
           .resume = snd_my_resume,
Signature · 1 line
1.8.0
#54 lore raw

PATCH 32/493 arm: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Russell King <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Eric Miao <[email protected]>
Cc Haojian Zhuang <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Kukjin Kim <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc davinci-linux-open-source at linux.davincidsp.com
Cc linux-omap at vger.kernel.org
Cc linux-samsung-soc at vger.kernel.org
---
 arch/arm/common/scoop.c                 | 2 +-
 arch/arm/mach-davinci/cdce949.c         | 2 +-
 arch/arm/mach-omap1/mailbox.c           | 2 +-
 arch/arm/mach-omap2/gpmc.c              | 2 +-
 arch/arm/mach-omap2/mailbox.c           | 2 +-
 arch/arm/mach-pxa/tosa-bt.c             | 2 +-
 arch/arm/mach-s3c24xx/mach-osiris-dvs.c | 2 +-
 arch/arm/mach-sa1100/neponset.c         | 2 +-
 arch/arm/mach-u300/dummyspichip.c       | 2 +-
 arch/arm/plat-omap/dma.c                | 2 +-
 arch/arm/plat-omap/dmtimer.c            | 2 +-
 arch/arm/plat-pxa/ssp.c                 | 2 +-
 arch/arm/plat-samsung/adc.c             | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)
arch/arm/common/scoop.c +1 -1
index 0c616d5..7cac8dd 100644
@@ -268,7 +268,7 @@ static int __devexit scoop_remove(struct platform_device *pdev)
 
 static struct platform_driver scoop_driver = {
 	.probe		= scoop_probe,
-	.remove		= __devexit_p(scoop_remove),
+	.remove		= scoop_remove,
 	.suspend	= scoop_suspend,
 	.resume		= scoop_resume,
 	.driver		= {
arch/arm/mach-davinci/cdce949.c +1 -1
index f2232ca..5086cbc 100644
@@ -274,7 +274,7 @@ static struct i2c_driver cdce_driver = {
 		.name	= "cdce949",
 	},
 	.probe		= cdce_probe,
-	.remove		= __devexit_p(cdce_remove),
+	.remove		= cdce_remove,
 	.id_table	= cdce_id,
 };
 
arch/arm/mach-omap1/mailbox.c +1 -1
index e962926..e7e1f2a 100644
@@ -174,7 +174,7 @@ static int __devexit omap1_mbox_remove(struct platform_device *pdev)
 
 static struct platform_driver omap1_mbox_driver = {
 	.probe	= omap1_mbox_probe,
-	.remove	= __devexit_p(omap1_mbox_remove),
+	.remove	= omap1_mbox_remove,
 	.driver	= {
 		.name	= "omap-mailbox",
 	},
arch/arm/mach-omap2/gpmc.c +1 -1
index bf6117c..b4226a4 100644
@@ -814,7 +814,7 @@ static __devexit int gpmc_remove(struct platform_device *pdev)
 
 static struct platform_driver gpmc_driver = {
 	.probe		= gpmc_probe,
-	.remove		= __devexit_p(gpmc_remove),
+	.remove		= gpmc_remove,
 	.driver		= {
 		.name	= DEVICE_NAME,
 		.owner	= THIS_MODULE,
arch/arm/mach-omap2/mailbox.c +1 -1
index 0d97456..64308f4 100644
@@ -404,7 +404,7 @@ static int __devexit omap2_mbox_remove(struct platform_device *pdev)
 
 static struct platform_driver omap2_mbox_driver = {
 	.probe = omap2_mbox_probe,
-	.remove = __devexit_p(omap2_mbox_remove),
+	.remove = omap2_mbox_remove,
 	.driver = {
 		.name = "omap-mailbox",
 	},
arch/arm/mach-pxa/tosa-bt.c +1 -1
index b9b1e5c..968f284 100644
@@ -125,7 +125,7 @@ static int __devexit tosa_bt_remove(struct platform_device *dev)
 
 static struct platform_driver tosa_bt_driver = {
 	.probe = tosa_bt_probe,
-	.remove = __devexit_p(tosa_bt_remove),
+	.remove = tosa_bt_remove,
 
 	.driver = {
 		.name = "tosa-bt",
arch/arm/mach-s3c24xx/mach-osiris-dvs.c +1 -1
index 5876c6b..b7b712b 100644
@@ -167,7 +167,7 @@ static const struct dev_pm_ops osiris_dvs_pm = {
 
 static struct platform_driver osiris_dvs_driver = {
 	.probe		= osiris_dvs_probe,
-	.remove		= __devexit_p(osiris_dvs_remove),
+	.remove		= osiris_dvs_remove,
 	.driver		= {
 		.name	= "osiris-dvs",
 		.owner	= THIS_MODULE,
arch/arm/mach-sa1100/neponset.c +1 -1
index 266db87..c408b8b 100644
@@ -420,7 +420,7 @@ static const struct dev_pm_ops neponset_pm_ops = {
 
 static struct platform_driver neponset_device_driver = {
 	.probe		= neponset_probe,
-	.remove		= __devexit_p(neponset_remove),
+	.remove		= neponset_remove,
 	.driver		= {
 		.name	= "neponset",
 		.owner	= THIS_MODULE,
arch/arm/mach-u300/dummyspichip.c +1 -1
index 03f7936..7c06188 100644
@@ -269,7 +269,7 @@ static struct spi_driver pl022_dummy_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe	= pl022_dummy_probe,
-	.remove	= __devexit_p(pl022_dummy_remove),
+	.remove	= pl022_dummy_remove,
 };
 
 static int __init pl022_init_dummy(void)
arch/arm/plat-omap/dma.c +1 -1
index c288b76..3317867 100644
@@ -2140,7 +2140,7 @@ static int __devexit omap_system_dma_remove(struct platform_device *pdev)
 
 static struct platform_driver omap_system_dma_driver = {
 	.probe		= omap_system_dma_probe,
-	.remove		= __devexit_p(omap_system_dma_remove),
+	.remove		= omap_system_dma_remove,
 	.driver		= {
 		.name	= "omap_dma_system"
 	},
arch/arm/plat-omap/dmtimer.c +1 -1
index 82231a7..4a40f25 100644
@@ -782,7 +782,7 @@ static int __devexit omap_dm_timer_remove(struct platform_device *pdev)
 
 static struct platform_driver omap_dm_timer_driver = {
 	.probe  = omap_dm_timer_probe,
-	.remove = __devexit_p(omap_dm_timer_remove),
+	.remove = omap_dm_timer_remove,
 	.driver = {
 		.name   = "omap_timer",
 	},
arch/arm/plat-pxa/ssp.c +1 -1
index 584c9bf..def0648 100644
@@ -199,7 +199,7 @@ static const struct platform_device_id ssp_id_table[] = {
 
 static struct platform_driver pxa_ssp_driver = {
 	.probe		= pxa_ssp_probe,
-	.remove		= __devexit_p(pxa_ssp_remove),
+	.remove		= pxa_ssp_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "pxa2xx-ssp",
arch/arm/plat-samsung/adc.c +1 -1
index b1e05cc..010dde6 100644
@@ -538,7 +538,7 @@ static struct platform_driver s3c_adc_driver = {
 		.pm	= &adc_pm_ops,
 	},
 	.probe		= s3c_adc_probe,
-	.remove		= __devexit_p(s3c_adc_remove),
+	.remove		= s3c_adc_remove,
 };
 
 static int __init adc_init(void)
Signature · 1 line
1.8.0
#57 lore raw

PATCH 32/493 arm: remove use of __devexit_p

In reply to Bill Pemberton
Quoted 15 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Russell King <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Eric Miao <[email protected]>
Cc Haojian Zhuang <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Kukjin Kim <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc davinci-linux-open-source at linux.davincidsp.com
Cc linux-omap at vger.kernel.org
Cc linux-samsung-soc at vger.kernel.org
Quoted 4 lines

---

 arch/arm/mach-s3c24xx/mach-osiris-dvs.c | 2 +-
 arch/arm/plat-samsung/adc.c             | 2 +-

For above s3c24xx and samsung,

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#58 lore raw

PATCH 34/493 MIPS: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 arch/mips/mti-sead3/sead3-i2c-drv.c       | 2 +-
 arch/mips/mti-sead3/sead3-pic32-i2c-drv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/mti-sead3/sead3-i2c-drv.c +1 -1
index 0375ee6..114a167 100644
@@ -383,7 +383,7 @@ static struct platform_driver sead3_i2c_platform_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= sead3_i2c_platform_probe,
-	.remove		= __devexit_p(sead3_i2c_platform_remove),
+	.remove		= sead3_i2c_platform_remove,
 	.suspend	= sead3_i2c_platform_suspend,
 	.resume		= sead3_i2c_platform_resume,
 };
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c +1 -1
index 46509b0..587d5b5 100644
@@ -408,7 +408,7 @@ static struct platform_driver i2c_platform_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= i2c_platform_probe,
-	.remove		= __devexit_p(i2c_platform_remove),
+	.remove		= i2c_platform_remove,
 	.suspend	= i2c_platform_suspend,
 	.resume		= i2c_platform_resume,
 };
Signature · 1 line
1.8.0
#59 lore raw

PATCH 35/493 powerpc: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c  | 2 +-
 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 2 +-
 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c +1 -1
index 2351f9e..459fa49 100644
@@ -576,7 +576,7 @@ static struct platform_driver mpc52xx_lpbfifo_driver = {
 		.of_match_table = mpc52xx_lpbfifo_match,
 	},
 	.probe = mpc52xx_lpbfifo_probe,
-	.remove = __devexit_p(mpc52xx_lpbfifo_remove),
+	.remove = mpc52xx_lpbfifo_remove,
 };
 
 /***********************************************************************
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c +1 -1
index ef6537b..fe27e4a 100644
@@ -228,7 +228,7 @@ static struct i2c_driver mcu_driver = {
 		.of_match_table = mcu_of_match_table,
 	},
 	.probe = mcu_probe,
-	.remove	= __devexit_p(mcu_remove),
+	.remove	= mcu_remove,
 	.id_table = mcu_ids,
 };
 
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c +1 -1
index d131c8a..103c94a 100644
@@ -213,7 +213,7 @@ static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
 		.of_match_table	= mpc85xx_l2ctlr_of_match,
 	},
 	.probe		= mpc85xx_l2ctlr_of_probe,
-	.remove		= __devexit_p(mpc85xx_l2ctlr_of_remove),
+	.remove		= mpc85xx_l2ctlr_of_remove,
 };
 
 static __init int mpc85xx_l2ctlr_of_init(void)
Signature · 1 line
1.8.0
#60 lore raw

PATCH 39/493 atm: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/atm/ambassador.c | 2 +-
 drivers/atm/eni.c        | 2 +-
 drivers/atm/firestream.c | 2 +-
 drivers/atm/he.c         | 2 +-
 drivers/atm/horizon.c    | 2 +-
 drivers/atm/iphase.c     | 2 +-
 drivers/atm/nicstar.c    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
drivers/atm/ambassador.c +1 -1
index 89b30f3..9e9df4f 100644
@@ -2378,7 +2378,7 @@ MODULE_DEVICE_TABLE(pci, amb_pci_tbl);
 static struct pci_driver amb_driver = {
 	.name =		"amb",
 	.probe =	amb_probe,
-	.remove =	__devexit_p(amb_remove_one),
+	.remove =	amb_remove_one,
 	.id_table =	amb_pci_tbl,
 };
 
drivers/atm/eni.c +1 -1
index 81e44f7..2dd26f9 100644
@@ -2310,7 +2310,7 @@ static struct pci_driver eni_driver = {
 	.name		= DEV_LABEL,
 	.id_table	= eni_pci_tbl,
 	.probe		= eni_init_one,
-	.remove		= __devexit_p(eni_remove_one),
+	.remove		= eni_remove_one,
 };
 
 
drivers/atm/firestream.c +1 -1
index 86fed1b..5aae55d 100644
@@ -2038,7 +2038,7 @@ static struct pci_driver firestream_driver = {
 	.name		= "firestream",
 	.id_table	= firestream_pci_tbl,
 	.probe		= firestream_init_one,
-	.remove		= __devexit_p(firestream_remove_one),
+	.remove		= firestream_remove_one,
 };
 
 static int __init firestream_init_module (void)
drivers/atm/he.c +1 -1
index b182c2f..c372814 100644
@@ -2879,7 +2879,7 @@ MODULE_DEVICE_TABLE(pci, he_pci_tbl);
 static struct pci_driver he_driver = {
 	.name =		"he",
 	.probe =	he_init_one,
-	.remove =	__devexit_p(he_remove_one),
+	.remove =	he_remove_one,
 	.id_table =	he_pci_tbl,
 };
 
drivers/atm/horizon.c +1 -1
index 7d01c2a..9d98421 100644
@@ -2901,7 +2901,7 @@ MODULE_DEVICE_TABLE(pci, hrz_pci_tbl);
 static struct pci_driver hrz_driver = {
 	.name =		"horizon",
 	.probe =	hrz_probe,
-	.remove =	__devexit_p(hrz_remove_one),
+	.remove =	hrz_remove_one,
 	.id_table =	hrz_pci_tbl,
 };
 
drivers/atm/iphase.c +1 -1
index 96cce6d..23b3627 100644
@@ -3270,7 +3270,7 @@ static struct pci_driver ia_driver = {
 	.name =         DEV_LABEL,
 	.id_table =     ia_pci_tbl,
 	.probe =        ia_init_one,
-	.remove =       __devexit_p(ia_remove_one),
+	.remove =       ia_remove_one,
 };
 
 static int __init ia_module_init(void)
drivers/atm/nicstar.c +1 -1
index 1c70c45..cd4b90b 100644
@@ -273,7 +273,7 @@ static struct pci_driver nicstar_driver = {
 	.name = "nicstar",
 	.id_table = nicstar_pci_tbl,
 	.probe = nicstar_init_one,
-	.remove = __devexit_p(nicstar_remove_one),
+	.remove = nicstar_remove_one,
 };
 
 static int __init nicstar_init(void)
Signature · 1 line
1.8.0
#61 lore raw

PATCH 40/493 bcma: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/bcma/host_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bcma/host_pci.c +1 -1
index 98fdc3e..fdd8dde 100644
@@ -284,7 +284,7 @@ static struct pci_driver bcma_pci_bridge_driver = {
 	.name = "bcma-pci-bridge",
 	.id_table = bcma_pci_bridge_tbl,
 	.probe = bcma_host_pci_probe,
-	.remove = __devexit_p(bcma_host_pci_remove),
+	.remove = bcma_host_pci_remove,
 	.driver.pm = BCMA_PM_OPS,
 };
 
Signature · 1 line
1.8.0
#62 lore raw

PATCH 42/493 drivers/block: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Chirag Kantharia <[email protected]>
Cc Rusty Russell <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Grant Likely <[email protected]>
---
 drivers/block/cciss.c      | 2 +-
 drivers/block/cpqarray.c   | 2 +-
 drivers/block/nvme.c       | 2 +-
 drivers/block/swim.c       | 2 +-
 drivers/block/virtio_blk.c | 2 +-
 drivers/block/xsysace.c    | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/block/cciss.c +1 -1
index 6526157..b40068f 100644
@@ -5308,7 +5308,7 @@ static void __devexit cciss_remove_one(struct pci_dev *pdev)
 static struct pci_driver cciss_pci_driver = {
 	.name = "cciss",
 	.probe = cciss_init_one,
-	.remove = __devexit_p(cciss_remove_one),
+	.remove = cciss_remove_one,
 	.id_table = cciss_pci_device_id,	/* id_table */
 	.shutdown = cciss_shutdown,
 };
drivers/block/cpqarray.c +1 -1
index 9125bbe..389e314 100644
@@ -536,7 +536,7 @@ static int __devinit cpqarray_init_one( struct pci_dev *pdev,
 static struct pci_driver cpqarray_pci_driver = {
 	.name = "cpqarray",
 	.probe = cpqarray_init_one,
-	.remove = __devexit_p(cpqarray_remove_one_pci),
+	.remove = cpqarray_remove_one_pci,
 	.id_table = cpqarray_pci_device_id,
 };
 
drivers/block/nvme.c +1 -1
index 931769e..1f7acff 100644
@@ -1747,7 +1747,7 @@ static struct pci_driver nvme_driver = {
 	.name		= "nvme",
 	.id_table	= nvme_id_table,
 	.probe		= nvme_probe,
-	.remove		= __devexit_p(nvme_remove),
+	.remove		= nvme_remove,
 	.suspend	= nvme_suspend,
 	.resume		= nvme_resume,
 	.err_handler	= &nvme_err_handler,
drivers/block/swim.c +1 -1
index 6d5a914..314f0b4 100644
@@ -972,7 +972,7 @@ static int __devexit swim_remove(struct platform_device *dev)
 
 static struct platform_driver swim_driver = {
 	.probe  = swim_probe,
-	.remove = __devexit_p(swim_remove),
+	.remove = swim_remove,
 	.driver   = {
 		.name	= CARDNAME,
 		.owner	= THIS_MODULE,
drivers/block/virtio_blk.c +1 -1
index 0bdde8f..dbba5cf 100644
@@ -973,7 +973,7 @@ static struct virtio_driver __refdata virtio_blk = {
 	.driver.owner		= THIS_MODULE,
 	.id_table		= id_table,
 	.probe			= virtblk_probe,
-	.remove			= __devexit_p(virtblk_remove),
+	.remove			= virtblk_remove,
 	.config_changed		= virtblk_config_changed,
 #ifdef CONFIG_PM
 	.freeze			= virtblk_freeze,
drivers/block/xsysace.c +1 -1
index 1a17e33..d925121 100644
@@ -1204,7 +1204,7 @@ MODULE_DEVICE_TABLE(of, ace_of_match);
 
 static struct platform_driver ace_platform_driver = {
 	.probe = ace_probe,
-	.remove = __devexit_p(ace_remove),
+	.remove = ace_remove,
 	.driver = {
 		.owner = THIS_MODULE,
 		.name = "xsysace",
Signature · 1 line
1.8.0
#63 lore raw

PATCH 46/493 hwrng: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc linux-arm-kernel at lists.infradead.org
---
 drivers/char/hw_random/atmel-rng.c      | 2 +-
 drivers/char/hw_random/bcm63xx-rng.c    | 2 +-
 drivers/char/hw_random/exynos-rng.c     | 2 +-
 drivers/char/hw_random/n2-drv.c         | 2 +-
 drivers/char/hw_random/picoxcell-rng.c  | 2 +-
 drivers/char/hw_random/timeriomem-rng.c | 2 +-
 drivers/char/hw_random/virtio-rng.c     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
drivers/char/hw_random/atmel-rng.c +1 -1
index 731c904..0f6ca8f 100644
@@ -138,7 +138,7 @@ static const struct dev_pm_ops atmel_trng_pm_ops = {
 
 static struct platform_driver atmel_trng_driver = {
 	.probe		= atmel_trng_probe,
-	.remove		= __devexit_p(atmel_trng_remove),
+	.remove		= atmel_trng_remove,
 	.driver		= {
 		.name	= "atmel-trng",
 		.owner	= THIS_MODULE,
drivers/char/hw_random/bcm63xx-rng.c +1 -1
index aec6a42..95bcc88 100644
@@ -161,7 +161,7 @@ static int __devexit bcm63xx_rng_remove(struct platform_device *pdev)
 
 static struct platform_driver bcm63xx_rng_driver = {
 	.probe		= bcm63xx_rng_probe,
-	.remove		= __devexit_p(bcm63xx_rng_remove),
+	.remove		= bcm63xx_rng_remove,
 	.driver		= {
 		.name	= "bcm63xx-rng",
 		.owner	= THIS_MODULE,
drivers/char/hw_random/exynos-rng.c +1 -1
index 232ba9c..046d6ae 100644
@@ -172,7 +172,7 @@ static struct platform_driver exynos_rng_driver = {
 		.pm	= &exynos_rng_pm_ops,
 	},
 	.probe		= exynos_rng_probe,
-	.remove		= __devexit_p(exynos_rng_remove),
+	.remove		= exynos_rng_remove,
 };
 
 module_platform_driver(exynos_rng_driver);
drivers/char/hw_random/n2-drv.c +1 -1
index ebd48f0..cbde832 100644
@@ -767,7 +767,7 @@ static struct platform_driver n2rng_driver = {
 		.of_match_table = n2rng_match,
 	},
 	.probe		= n2rng_probe,
-	.remove		= __devexit_p(n2rng_remove),
+	.remove		= n2rng_remove,
 };
 
 module_platform_driver(n2rng_driver);
drivers/char/hw_random/picoxcell-rng.c +1 -1
index 97bd891..b4f7f06 100644
@@ -181,7 +181,7 @@ static const struct dev_pm_ops picoxcell_trng_pm_ops = {
 
 static struct platform_driver picoxcell_trng_driver = {
 	.probe		= picoxcell_trng_probe,
-	.remove		= __devexit_p(picoxcell_trng_remove),
+	.remove		= picoxcell_trng_remove,
 	.driver		= {
 		.name	= "picoxcell-trng",
 		.owner	= THIS_MODULE,
drivers/char/hw_random/timeriomem-rng.c +1 -1
index f1a1618..d5144ec 100644
@@ -146,7 +146,7 @@ static struct platform_driver timeriomem_rng_driver = {
 		.owner		= THIS_MODULE,
 	},
 	.probe		= timeriomem_rng_probe,
-	.remove		= __devexit_p(timeriomem_rng_remove),
+	.remove		= timeriomem_rng_remove,
 };
 
 module_platform_driver(timeriomem_rng_driver);
drivers/char/hw_random/virtio-rng.c +1 -1
index 5708299..bb78033 100644
@@ -147,7 +147,7 @@ static struct virtio_driver virtio_rng_driver = {
 	.driver.owner =	THIS_MODULE,
 	.id_table =	id_table,
 	.probe =	virtrng_probe,
-	.remove =	__devexit_p(virtrng_remove),
+	.remove =	virtrng_remove,
 #ifdef CONFIG_PM
 	.freeze =	virtrng_freeze,
 	.restore =	virtrng_restore,
Signature · 1 line
1.8.0
#64 lore raw

PATCH 49/493 char: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/char/sonypi.c | 2 +-
 drivers/char/tb0219.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/sonypi.c +1 -1
index 9b4f011..34f0db3 100644
@@ -1491,7 +1491,7 @@ static struct platform_driver sonypi_driver = {
 		.pm	= SONYPI_PM,
 	},
 	.probe		= sonypi_probe,
-	.remove		= __devexit_p(sonypi_remove),
+	.remove		= sonypi_remove,
 	.shutdown	= sonypi_shutdown,
 };
 
drivers/char/tb0219.c +1 -1
index ad26418..6bfe2af 100644
@@ -334,7 +334,7 @@ static struct platform_device *tb0219_platform_device;
 
 static struct platform_driver tb0219_device_driver = {
 	.probe		= tb0219_probe,
-	.remove		= __devexit_p(tb0219_remove),
+	.remove		= tb0219_remove,
 	.driver		= {
 		.name	= "TB0219",
 		.owner	= THIS_MODULE,
Signature · 1 line
1.8.0
#65 lore raw

PATCH 50/493 clk: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Mike Turquette <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc patches at opensource.wolfsonmicro.com
---
 drivers/clk/clk-max77686.c | 2 +-
 drivers/clk/clk-twl6040.c  | 2 +-
 drivers/clk/clk-wm831x.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/clk/clk-max77686.c +1 -1
index ac5f543..fff7e6f 100644
@@ -223,7 +223,7 @@ static struct platform_driver max77686_clk_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = max77686_clk_probe,
-	.remove = __devexit_p(max77686_clk_remove),
+	.remove = max77686_clk_remove,
 	.id_table = max77686_clk_id,
 };
 
drivers/clk/clk-twl6040.c +1 -1
index f4a3389..5f2eb1f 100644
@@ -115,7 +115,7 @@ static struct platform_driver twl6040_clk_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = twl6040_clk_probe,
-	.remove = __devexit_p(twl6040_clk_remove),
+	.remove = twl6040_clk_remove,
 };
 
 module_platform_driver(twl6040_clk_driver);
drivers/clk/clk-wm831x.c +1 -1
index db4fbf2..6374dc4 100644
@@ -396,7 +396,7 @@ static int __devexit wm831x_clk_remove(struct platform_device *pdev)
 
 static struct platform_driver wm831x_clk_driver = {
 	.probe = wm831x_clk_probe,
-	.remove = __devexit_p(wm831x_clk_remove),
+	.remove = wm831x_clk_remove,
 	.driver		= {
 		.name	= "wm831x-clk",
 		.owner	= THIS_MODULE,
Signature · 1 line
1.8.0
#66 lore raw

PATCH 50/493 clk: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/72f0771f/attachment.sig>

#67 lore raw

PATCH 50/493 clk: remove use of __devexit_p

In reply to Bill Pemberton

Quoting Bill Pemberton (2012-11-19 10:19:59)

Quoted 7 lines

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Mike Turquette <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc patches at opensource.wolfsonmicro.com

Regards,
Mike

Quoted 47 lines
---
 drivers/clk/clk-max77686.c | 2 +-
 drivers/clk/clk-twl6040.c  | 2 +-
 drivers/clk/clk-wm831x.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/clk/clk-max77686.c +1 -1
index ac5f543..fff7e6f 100644
@@ -223,7 +223,7 @@ static struct platform_driver max77686_clk_driver = {
                .owner = THIS_MODULE,
        },
        .probe = max77686_clk_probe,
-       .remove = __devexit_p(max77686_clk_remove),
+       .remove = max77686_clk_remove,
        .id_table = max77686_clk_id,
 };
 
drivers/clk/clk-twl6040.c +1 -1
index f4a3389..5f2eb1f 100644
@@ -115,7 +115,7 @@ static struct platform_driver twl6040_clk_driver = {
                .owner = THIS_MODULE,
        },
        .probe = twl6040_clk_probe,
-       .remove = __devexit_p(twl6040_clk_remove),
+       .remove = twl6040_clk_remove,
 };
 
 module_platform_driver(twl6040_clk_driver);
drivers/clk/clk-wm831x.c +1 -1
index db4fbf2..6374dc4 100644
@@ -396,7 +396,7 @@ static int __devexit wm831x_clk_remove(struct platform_device *pdev)
 
 static struct platform_driver wm831x_clk_driver = {
        .probe = wm831x_clk_probe,
-       .remove = __devexit_p(wm831x_clk_remove),
+       .remove = wm831x_clk_remove,
        .driver         = {
                .name   = "wm831x-clk",
                .owner  = THIS_MODULE,
Signature · 1 line
1.8.0
#68 lore raw

PATCH 52/493 cpufreq: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/cpufreq/longhaul.c    | 2 +-
 drivers/cpufreq/powernow-k8.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/cpufreq/longhaul.c +1 -1
index 53ddbc7..8d7ebb2 100644
@@ -946,7 +946,7 @@ static struct cpufreq_driver longhaul_driver = {
 	.target	= longhaul_target,
 	.get	= longhaul_get,
 	.init	= longhaul_cpu_init,
-	.exit	= __devexit_p(longhaul_cpu_exit),
+	.exit	= longhaul_cpu_exit,
 	.name	= "longhaul",
 	.owner	= THIS_MODULE,
 	.attr	= longhaul_attr,
drivers/cpufreq/powernow-k8.c +1 -1
index e3ebb4f..1fd0c8a 100644
@@ -1242,7 +1242,7 @@ static struct cpufreq_driver cpufreq_amd64_driver = {
 	.target		= powernowk8_target,
 	.bios_limit	= acpi_processor_get_bios_limit,
 	.init		= powernowk8_cpu_init,
-	.exit		= __devexit_p(powernowk8_cpu_exit),
+	.exit		= powernowk8_cpu_exit,
 	.get		= powernowk8_get,
 	.name		= "powernow-k8",
 	.owner		= THIS_MODULE,
Signature · 1 line
1.8.0
#69 lore raw

Re: [PATCH 052/493] cpufreq: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Applied to the linux-next branch of the linux-pm.git tree as v3.8 material.

Thanks,
Rafael

Quoted 36 lines
---
 drivers/cpufreq/longhaul.c    | 2 +-
 drivers/cpufreq/powernow-k8.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/cpufreq/longhaul.c +1 -1
index 53ddbc7..8d7ebb2 100644
@@ -946,7 +946,7 @@ static struct cpufreq_driver longhaul_driver = {
 	.target	= longhaul_target,
 	.get	= longhaul_get,
 	.init	= longhaul_cpu_init,
-	.exit	= __devexit_p(longhaul_cpu_exit),
+	.exit	= longhaul_cpu_exit,
 	.name	= "longhaul",
 	.owner	= THIS_MODULE,
 	.attr	= longhaul_attr,
drivers/cpufreq/powernow-k8.c +1 -1
index e3ebb4f..1fd0c8a 100644
@@ -1242,7 +1242,7 @@ static struct cpufreq_driver cpufreq_amd64_driver = {
 	.target		= powernowk8_target,
 	.bios_limit	= acpi_processor_get_bios_limit,
 	.init		= powernowk8_cpu_init,
-	.exit		= __devexit_p(powernowk8_cpu_exit),
+	.exit		= powernowk8_cpu_exit,
 	.get		= powernowk8_get,
 	.name		= "powernow-k8",
 	.owner		= THIS_MODULE,
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
#70 lore raw

PATCH 53/493 crypto: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc linux-crypto at vger.kernel.org
Cc linux-geode at lists.infradead.org
Cc linux-arm-kernel at lists.infradead.org
---
 drivers/crypto/atmel-aes.c        | 2 +-
 drivers/crypto/atmel-sha.c        | 2 +-
 drivers/crypto/atmel-tdes.c       | 2 +-
 drivers/crypto/bfin_crc.c         | 2 +-
 drivers/crypto/caam/ctrl.c        | 2 +-
 drivers/crypto/geode-aes.c        | 2 +-
 drivers/crypto/hifn_795x.c        | 2 +-
 drivers/crypto/mv_cesa.c          | 2 +-
 drivers/crypto/n2_core.c          | 4 ++--
 drivers/crypto/picoxcell_crypto.c | 2 +-
 drivers/crypto/tegra-aes.c        | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)
drivers/crypto/atmel-aes.c +1 -1
index 8061336..3cfa548 100644
@@ -1185,7 +1185,7 @@ static int __devexit atmel_aes_remove(struct platform_device *pdev)
 
 static struct platform_driver atmel_aes_driver = {
 	.probe		= atmel_aes_probe,
-	.remove		= __devexit_p(atmel_aes_remove),
+	.remove		= atmel_aes_remove,
 	.driver		= {
 		.name	= "atmel_aes",
 		.owner	= THIS_MODULE,
drivers/crypto/atmel-sha.c +1 -1
index bcdf55f..4fb07609 100644
@@ -1093,7 +1093,7 @@ static int __devexit atmel_sha_remove(struct platform_device *pdev)
 
 static struct platform_driver atmel_sha_driver = {
 	.probe		= atmel_sha_probe,
-	.remove		= __devexit_p(atmel_sha_remove),
+	.remove		= atmel_sha_remove,
 	.driver		= {
 		.name	= "atmel_sha",
 		.owner	= THIS_MODULE,
drivers/crypto/atmel-tdes.c +1 -1
index 7495f98..530474f 100644
@@ -1195,7 +1195,7 @@ static int __devexit atmel_tdes_remove(struct platform_device *pdev)
 
 static struct platform_driver atmel_tdes_driver = {
 	.probe		= atmel_tdes_probe,
-	.remove		= __devexit_p(atmel_tdes_remove),
+	.remove		= atmel_tdes_remove,
 	.driver		= {
 		.name	= "atmel_tdes",
 		.owner	= THIS_MODULE,
drivers/crypto/bfin_crc.c +1 -1
index 5398580..eecaae2 100644
@@ -731,7 +731,7 @@ static int __devexit bfin_crypto_crc_remove(struct platform_device *pdev)
 
 static struct platform_driver bfin_crypto_crc_driver = {
 	.probe     = bfin_crypto_crc_probe,
-	.remove    = __devexit_p(bfin_crypto_crc_remove),
+	.remove    = bfin_crypto_crc_remove,
 	.suspend   = bfin_crypto_crc_suspend,
 	.resume    = bfin_crypto_crc_resume,
 	.driver    = {
drivers/crypto/caam/ctrl.c +1 -1
index bf20dd8..1c56f63 100644
@@ -420,7 +420,7 @@ static struct platform_driver caam_driver = {
 		.of_match_table = caam_match,
 	},
 	.probe       = caam_probe,
-	.remove      = __devexit_p(caam_remove),
+	.remove      = caam_remove,
 };
 
 module_platform_driver(caam_driver);
drivers/crypto/geode-aes.c +1 -1
index 51f196d..3217baf 100644
@@ -582,7 +582,7 @@ static struct pci_driver geode_aes_driver = {
 	.name = "Geode LX AES",
 	.id_table = geode_aes_tbl,
 	.probe = geode_aes_probe,
-	.remove = __devexit_p(geode_aes_remove)
+	.remove = geode_aes_remove
 };
 
 module_pci_driver(geode_aes_driver);
drivers/crypto/hifn_795x.c +1 -1
index fda3296..4c2f467 100644
@@ -2740,7 +2740,7 @@ static struct pci_driver hifn_pci_driver = {
 	.name     = "hifn795x",
 	.id_table = hifn_pci_tbl,
 	.probe    = hifn_probe,
-	.remove   = __devexit_p(hifn_remove),
+	.remove   = hifn_remove,
 };
 
 static int __init hifn_init(void)
drivers/crypto/mv_cesa.c +1 -1
index 24ccae4..ce6290e 100644
@@ -1184,7 +1184,7 @@ MODULE_DEVICE_TABLE(of, mv_cesa_of_match_table);
 
 static struct platform_driver marvell_crypto = {
 	.probe		= mv_probe,
-	.remove		= __devexit_p(mv_remove),
+	.remove		= mv_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "mv_crypto",
drivers/crypto/n2_core.c +2 -2
index aab2574..2741ef5 100644
@@ -2217,7 +2217,7 @@ static struct platform_driver n2_crypto_driver = {
 		.of_match_table	=	n2_crypto_match,
 	},
 	.probe		=	n2_crypto_probe,
-	.remove		=	__devexit_p(n2_crypto_remove),
+	.remove		=	n2_crypto_remove,
 };
 
 static struct of_device_id n2_mau_match[] = {
@@ -2245,7 +2245,7 @@ static struct platform_driver n2_mau_driver = {
 		.of_match_table	=	n2_mau_match,
 	},
 	.probe		=	n2_mau_probe,
-	.remove		=	__devexit_p(n2_mau_remove),
+	.remove		=	n2_mau_remove,
 };
 
 static int __init n2_init(void)
drivers/crypto/picoxcell_crypto.c +1 -1
index c983f86..a279f93 100644
@@ -1868,7 +1868,7 @@ static const struct platform_device_id spacc_id_table[] = {
 
 static struct platform_driver spacc_driver = {
 	.probe		= spacc_probe,
-	.remove		= __devexit_p(spacc_remove),
+	.remove		= spacc_remove,
 	.driver		= {
 		.name	= "picochip,spacc",
 #ifdef CONFIG_PM
drivers/crypto/tegra-aes.c +1 -1
index eb32fd8..75f8a55 100644
@@ -1082,7 +1082,7 @@ static struct of_device_id tegra_aes_of_match[] __devinitdata = {
 
 static struct platform_driver tegra_aes_driver = {
 	.probe  = tegra_aes_probe,
-	.remove = __devexit_p(tegra_aes_remove),
+	.remove = tegra_aes_remove,
 	.driver = {
 		.name   = "tegra-aes",
 		.owner  = THIS_MODULE,
Signature · 1 line
1.8.0
#71 lore raw

PATCH 55/493 dma: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Viresh Kumar <[email protected]>
Cc Barry Song <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
---
 drivers/dma/dw_dmac.c         | 2 +-
 drivers/dma/edma.c            | 2 +-
 drivers/dma/intel_mid_dma.c   | 2 +-
 drivers/dma/ioat/pci.c        | 2 +-
 drivers/dma/iop-adma.c        | 2 +-
 drivers/dma/mmp_pdma.c        | 2 +-
 drivers/dma/mmp_tdma.c        | 2 +-
 drivers/dma/mpc512x_dma.c     | 2 +-
 drivers/dma/mv_xor.c          | 2 +-
 drivers/dma/pch_dma.c         | 2 +-
 drivers/dma/ppc4xx/adma.c     | 2 +-
 drivers/dma/sa11x0-dma.c      | 2 +-
 drivers/dma/sh/shdma.c        | 2 +-
 drivers/dma/sirf-dma.c        | 2 +-
 drivers/dma/tegra20-apb-dma.c | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)
drivers/dma/dw_dmac.c +1 -1
index 2c8096d..67f6358 100644
@@ -1829,7 +1829,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table);
 #endif
 
 static struct platform_driver dw_driver = {
-	.remove		= __devexit_p(dw_remove),
+	.remove		= dw_remove,
 	.shutdown	= dw_shutdown,
 	.driver = {
 		.name	= "dw_dmac",
drivers/dma/edma.c +1 -1
index 05aea3c..5e5cce4 100644
@@ -598,7 +598,7 @@ static int __devexit edma_remove(struct platform_device *pdev)
 
 static struct platform_driver edma_driver = {
 	.probe		= edma_probe,
-	.remove		= __devexit_p(edma_remove),
+	.remove		= edma_remove,
 	.driver = {
 		.name = "edma-dma-engine",
 		.owner = THIS_MODULE,
drivers/dma/intel_mid_dma.c +1 -1
index 02b21d7..dffdeff 100644
@@ -1432,7 +1432,7 @@ static struct pci_driver intel_mid_dma_pci_driver = {
 	.name		=	"Intel MID DMA",
 	.id_table	=	intel_mid_dma_ids,
 	.probe		=	intel_mid_dma_probe,
-	.remove		=	__devexit_p(intel_mid_dma_remove),
+	.remove		=	intel_mid_dma_remove,
 #ifdef CONFIG_PM
 	.driver = {
 		.pm = &intel_mid_dma_pm,
drivers/dma/ioat/pci.c +1 -1
index c057306..bfa9a35 100644
@@ -125,7 +125,7 @@ static struct pci_driver ioat_pci_driver = {
 	.name		= DRV_NAME,
 	.id_table	= ioat_pci_tbl,
 	.probe		= ioat_pci_probe,
-	.remove		= __devexit_p(ioat_remove),
+	.remove		= ioat_remove,
 };
 
 static struct ioatdma_device *
drivers/dma/iop-adma.c +1 -1
index e11d930..80d986a 100644
@@ -1710,7 +1710,7 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan)
 
 static struct platform_driver iop_adma_driver = {
 	.probe		= iop_adma_probe,
-	.remove		= __devexit_p(iop_adma_remove),
+	.remove		= iop_adma_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "iop-adma",
drivers/dma/mmp_pdma.c +1 -1
index 14da1f4..4777986 100644
@@ -865,7 +865,7 @@ static struct platform_driver mmp_pdma_driver = {
 	},
 	.id_table	= mmp_pdma_id_table,
 	.probe		= mmp_pdma_probe,
-	.remove		= __devexit_p(mmp_pdma_remove),
+	.remove		= mmp_pdma_remove,
 };
 
 module_platform_driver(mmp_pdma_driver);
drivers/dma/mmp_tdma.c +1 -1
index f3e8d71..7d7fc6b 100644
@@ -609,7 +609,7 @@ static struct platform_driver mmp_tdma_driver = {
 	},
 	.id_table	= mmp_tdma_id_table,
 	.probe		= mmp_tdma_probe,
-	.remove		= __devexit_p(mmp_tdma_remove),
+	.remove		= mmp_tdma_remove,
 };
 
 module_platform_driver(mmp_tdma_driver);
drivers/dma/mpc512x_dma.c +1 -1
index 2ab0a3d..4b8754b 100644
@@ -818,7 +818,7 @@ static struct of_device_id mpc_dma_match[] = {
 
 static struct platform_driver mpc_dma_driver = {
 	.probe		= mpc_dma_probe,
-	.remove		= __devexit_p(mpc_dma_remove),
+	.remove		= mpc_dma_remove,
 	.driver = {
 		.name = DRV_NAME,
 		.owner = THIS_MODULE,
drivers/dma/mv_xor.c +1 -1
index f9d09ae..119ed50 100644
@@ -1254,7 +1254,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp,
 
 static struct platform_driver mv_xor_driver = {
 	.probe		= mv_xor_probe,
-	.remove		= __devexit_p(mv_xor_remove),
+	.remove		= mv_xor_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= MV_XOR_NAME,
drivers/dma/pch_dma.c +1 -1
index b405916..ee3d567 100644
@@ -1022,7 +1022,7 @@ static struct pci_driver pch_dma_driver = {
 	.name		= DRV_NAME,
 	.id_table	= pch_dma_id_table,
 	.probe		= pch_dma_probe,
-	.remove		= __devexit_p(pch_dma_remove),
+	.remove		= pch_dma_remove,
 #ifdef CONFIG_PM
 	.suspend	= pch_dma_suspend,
 	.resume		= pch_dma_resume,
drivers/dma/ppc4xx/adma.c +1 -1
index f72348d..5c6717c 100644
@@ -4914,7 +4914,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
 
 static struct platform_driver ppc440spe_adma_driver = {
 	.probe = ppc440spe_adma_probe,
-	.remove = __devexit_p(ppc440spe_adma_remove),
+	.remove = ppc440spe_adma_remove,
 	.driver = {
 		.name = "PPC440SP(E)-ADMA",
 		.owner = THIS_MODULE,
drivers/dma/sa11x0-dma.c +1 -1
index b893159..1255d9b 100644
@@ -1072,7 +1072,7 @@ static struct platform_driver sa11x0_dma_driver = {
 		.pm	= &sa11x0_dma_pm_ops,
 	},
 	.probe		= sa11x0_dma_probe,
-	.remove		= __devexit_p(sa11x0_dma_remove),
+	.remove		= sa11x0_dma_remove,
 };
 
 bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)
drivers/dma/sh/shdma.c +1 -1
index f41bcc5..7dcf4e0 100644
@@ -926,7 +926,7 @@ static struct platform_driver sh_dmae_driver = {
 		.pm	= &sh_dmae_pm,
 		.name	= SH_DMAE_DRV_NAME,
 	},
-	.remove		= __devexit_p(sh_dmae_remove),
+	.remove		= sh_dmae_remove,
 	.shutdown	= sh_dmae_shutdown,
 };
 
drivers/dma/sirf-dma.c +1 -1
index d451caa..62d42c9 100644
@@ -673,7 +673,7 @@ static struct of_device_id sirfsoc_dma_match[] = {
 
 static struct platform_driver sirfsoc_dma_driver = {
 	.probe		= sirfsoc_dma_probe,
-	.remove		= __devexit_p(sirfsoc_dma_remove),
+	.remove		= sirfsoc_dma_remove,
 	.driver = {
 		.name = DRV_NAME,
 		.owner = THIS_MODULE,
drivers/dma/tegra20-apb-dma.c +1 -1
index 528c62d..655c434 100644
@@ -1418,7 +1418,7 @@ static struct platform_driver tegra_dmac_driver = {
 		.of_match_table = of_match_ptr(tegra_dma_of_match),
 	},
 	.probe		= tegra_dma_probe,
-	.remove		= __devexit_p(tegra_dma_remove),
+	.remove		= tegra_dma_remove,
 };
 
 module_platform_driver(tegra_dmac_driver);
Signature · 1 line
1.8.0
#73 lore raw

PATCH 55/493 dma: remove use of __devexit_p

In reply to Bill Pemberton

2012/11/20 Bill Pemberton <[email protected]>:

Quoted 8 lines

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Viresh Kumar <[email protected]>
Cc Barry Song <[email protected]>
Cc linux-arm-kernel at lists.infradead.org

---

Quoted 214 lines
 drivers/dma/dw_dmac.c         | 2 +-
 drivers/dma/edma.c            | 2 +-
 drivers/dma/intel_mid_dma.c   | 2 +-
 drivers/dma/ioat/pci.c        | 2 +-
 drivers/dma/iop-adma.c        | 2 +-
 drivers/dma/mmp_pdma.c        | 2 +-
 drivers/dma/mmp_tdma.c        | 2 +-
 drivers/dma/mpc512x_dma.c     | 2 +-
 drivers/dma/mv_xor.c          | 2 +-
 drivers/dma/pch_dma.c         | 2 +-
 drivers/dma/ppc4xx/adma.c     | 2 +-
 drivers/dma/sa11x0-dma.c      | 2 +-
 drivers/dma/sh/shdma.c        | 2 +-
 drivers/dma/sirf-dma.c        | 2 +-
 drivers/dma/tegra20-apb-dma.c | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)
drivers/dma/dw_dmac.c +1 -1
index 2c8096d..67f6358 100644
@@ -1829,7 +1829,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table);
 #endif
 
 static struct platform_driver dw_driver = {
-       .remove         = __devexit_p(dw_remove),
+       .remove         = dw_remove,
        .shutdown       = dw_shutdown,
        .driver = {
                .name   = "dw_dmac",
drivers/dma/edma.c +1 -1
index 05aea3c..5e5cce4 100644
@@ -598,7 +598,7 @@ static int __devexit edma_remove(struct platform_device *pdev)
 
 static struct platform_driver edma_driver = {
        .probe          = edma_probe,
-       .remove         = __devexit_p(edma_remove),
+       .remove         = edma_remove,
        .driver = {
                .name = "edma-dma-engine",
                .owner = THIS_MODULE,
drivers/dma/intel_mid_dma.c +1 -1
index 02b21d7..dffdeff 100644
@@ -1432,7 +1432,7 @@ static struct pci_driver intel_mid_dma_pci_driver = {
        .name           =       "Intel MID DMA",
        .id_table       =       intel_mid_dma_ids,
        .probe          =       intel_mid_dma_probe,
-       .remove         =       __devexit_p(intel_mid_dma_remove),
+       .remove         =       intel_mid_dma_remove,
 #ifdef CONFIG_PM
        .driver = {
                .pm = &intel_mid_dma_pm,
drivers/dma/ioat/pci.c +1 -1
index c057306..bfa9a35 100644
@@ -125,7 +125,7 @@ static struct pci_driver ioat_pci_driver = {
        .name           = DRV_NAME,
        .id_table       = ioat_pci_tbl,
        .probe          = ioat_pci_probe,
-       .remove         = __devexit_p(ioat_remove),
+       .remove         = ioat_remove,
 };
 
 static struct ioatdma_device *
drivers/dma/iop-adma.c +1 -1
index e11d930..80d986a 100644
@@ -1710,7 +1710,7 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan)
 
 static struct platform_driver iop_adma_driver = {
        .probe          = iop_adma_probe,
-       .remove         = __devexit_p(iop_adma_remove),
+       .remove         = iop_adma_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = "iop-adma",
drivers/dma/mmp_pdma.c +1 -1
index 14da1f4..4777986 100644
@@ -865,7 +865,7 @@ static struct platform_driver mmp_pdma_driver = {
        },
        .id_table       = mmp_pdma_id_table,
        .probe          = mmp_pdma_probe,
-       .remove         = __devexit_p(mmp_pdma_remove),
+       .remove         = mmp_pdma_remove,
 };
 
 module_platform_driver(mmp_pdma_driver);
drivers/dma/mmp_tdma.c +1 -1
index f3e8d71..7d7fc6b 100644
@@ -609,7 +609,7 @@ static struct platform_driver mmp_tdma_driver = {
        },
        .id_table       = mmp_tdma_id_table,
        .probe          = mmp_tdma_probe,
-       .remove         = __devexit_p(mmp_tdma_remove),
+       .remove         = mmp_tdma_remove,
 };
 
 module_platform_driver(mmp_tdma_driver);
drivers/dma/mpc512x_dma.c +1 -1
index 2ab0a3d..4b8754b 100644
@@ -818,7 +818,7 @@ static struct of_device_id mpc_dma_match[] = {
 
 static struct platform_driver mpc_dma_driver = {
        .probe          = mpc_dma_probe,
-       .remove         = __devexit_p(mpc_dma_remove),
+       .remove         = mpc_dma_remove,
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
drivers/dma/mv_xor.c +1 -1
index f9d09ae..119ed50 100644
@@ -1254,7 +1254,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp,
 
 static struct platform_driver mv_xor_driver = {
        .probe          = mv_xor_probe,
-       .remove         = __devexit_p(mv_xor_remove),
+       .remove         = mv_xor_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = MV_XOR_NAME,
drivers/dma/pch_dma.c +1 -1
index b405916..ee3d567 100644
@@ -1022,7 +1022,7 @@ static struct pci_driver pch_dma_driver = {
        .name           = DRV_NAME,
        .id_table       = pch_dma_id_table,
        .probe          = pch_dma_probe,
-       .remove         = __devexit_p(pch_dma_remove),
+       .remove         = pch_dma_remove,
 #ifdef CONFIG_PM
        .suspend        = pch_dma_suspend,
        .resume         = pch_dma_resume,
drivers/dma/ppc4xx/adma.c +1 -1
index f72348d..5c6717c 100644
@@ -4914,7 +4914,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
 
 static struct platform_driver ppc440spe_adma_driver = {
        .probe = ppc440spe_adma_probe,
-       .remove = __devexit_p(ppc440spe_adma_remove),
+       .remove = ppc440spe_adma_remove,
        .driver = {
                .name = "PPC440SP(E)-ADMA",
                .owner = THIS_MODULE,
drivers/dma/sa11x0-dma.c +1 -1
index b893159..1255d9b 100644
@@ -1072,7 +1072,7 @@ static struct platform_driver sa11x0_dma_driver = {
                .pm     = &sa11x0_dma_pm_ops,
        },
        .probe          = sa11x0_dma_probe,
-       .remove         = __devexit_p(sa11x0_dma_remove),
+       .remove         = sa11x0_dma_remove,
 };
 
 bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)
drivers/dma/sh/shdma.c +1 -1
index f41bcc5..7dcf4e0 100644
@@ -926,7 +926,7 @@ static struct platform_driver sh_dmae_driver = {
                .pm     = &sh_dmae_pm,
                .name   = SH_DMAE_DRV_NAME,
        },
-       .remove         = __devexit_p(sh_dmae_remove),
+       .remove         = sh_dmae_remove,
        .shutdown       = sh_dmae_shutdown,
 };
 
drivers/dma/sirf-dma.c +1 -1
index d451caa..62d42c9 100644
@@ -673,7 +673,7 @@ static struct of_device_id sirfsoc_dma_match[] = {
 
 static struct platform_driver sirfsoc_dma_driver = {
        .probe          = sirfsoc_dma_probe,
-       .remove         = __devexit_p(sirfsoc_dma_remove),
+       .remove         = sirfsoc_dma_remove,
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
drivers/dma/tegra20-apb-dma.c +1 -2
index 528c62d..655c434 100644
@@ -1418,7 +1418,7 @@ static struct platform_driver tegra_dmac_driver = {
                .of_match_table = of_match_ptr(tegra_dma_of_match),
        },
        .probe          = tegra_dma_probe,
-       .remove         = __devexit_p(tegra_dma_remove),
+       .remove         = tegra_dma_remove,
 };
 
 module_platform_driver(tegra_dmac_driver);
--

1.8.0

#75 lore raw

PATCH 56/493 edac: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Doug Thompson <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Mark Gross <[email protected]>
Cc Jason Uhlenkott <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Tim Small <[email protected]>
Cc Ranganathan Desikan <[email protected]>
Cc "Arvind R." <[email protected]>
Cc Egor Martovetsky <[email protected]>
Cc Olof Johansson <[email protected]>
---
 drivers/edac/amd64_edac.c      | 2 +-
 drivers/edac/amd76x_edac.c     | 2 +-
 drivers/edac/cell_edac.c       | 2 +-
 drivers/edac/e752x_edac.c      | 2 +-
 drivers/edac/e7xxx_edac.c      | 2 +-
 drivers/edac/i3000_edac.c      | 2 +-
 drivers/edac/i3200_edac.c      | 2 +-
 drivers/edac/i5000_edac.c      | 2 +-
 drivers/edac/i5100_edac.c      | 2 +-
 drivers/edac/i5400_edac.c      | 2 +-
 drivers/edac/i7300_edac.c      | 2 +-
 drivers/edac/i7core_edac.c     | 2 +-
 drivers/edac/i82443bxgx_edac.c | 2 +-
 drivers/edac/i82860_edac.c     | 2 +-
 drivers/edac/i82875p_edac.c    | 2 +-
 drivers/edac/i82975x_edac.c    | 2 +-
 drivers/edac/mv64x60_edac.c    | 2 +-
 drivers/edac/pasemi_edac.c     | 2 +-
 drivers/edac/r82600_edac.c     | 2 +-
 drivers/edac/sb_edac.c         | 2 +-
 drivers/edac/tile_edac.c       | 2 +-
 drivers/edac/x38_edac.c        | 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)
drivers/edac/amd64_edac.c +1 -1
index f74a684..c147e1e 100644
@@ -2686,7 +2686,7 @@ MODULE_DEVICE_TABLE(pci, amd64_pci_table);
 static struct pci_driver amd64_pci_driver = {
 	.name		= EDAC_MOD_STR,
 	.probe		= amd64_probe_one_instance,
-	.remove		= __devexit_p(amd64_remove_one_instance),
+	.remove		= amd64_remove_one_instance,
 	.id_table	= amd64_pci_table,
 };
 
drivers/edac/amd76x_edac.c +1 -1
index 29eeb68..0430c35 100644
@@ -350,7 +350,7 @@ MODULE_DEVICE_TABLE(pci, amd76x_pci_tbl);
 static struct pci_driver amd76x_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = amd76x_init_one,
-	.remove = __devexit_p(amd76x_remove_one),
+	.remove = amd76x_remove_one,
 	.id_table = amd76x_pci_tbl,
 };
 
drivers/edac/cell_edac.c +1 -1
index a1bbd8e..b99bf19 100644
@@ -247,7 +247,7 @@ static struct platform_driver cell_edac_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= cell_edac_probe,
-	.remove		= __devexit_p(cell_edac_remove),
+	.remove		= cell_edac_remove,
 };
 
 static int __init cell_edac_init(void)
drivers/edac/e752x_edac.c +1 -1
index a5ed6b7..697acd5 100644
@@ -1445,7 +1445,7 @@ MODULE_DEVICE_TABLE(pci, e752x_pci_tbl);
 static struct pci_driver e752x_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = e752x_init_one,
-	.remove = __devexit_p(e752x_remove_one),
+	.remove = e752x_remove_one,
 	.id_table = e752x_pci_tbl,
 };
 
drivers/edac/e7xxx_edac.c +1 -1
index 9ff57f3..2b401ef 100644
@@ -579,7 +579,7 @@ MODULE_DEVICE_TABLE(pci, e7xxx_pci_tbl);
 static struct pci_driver e7xxx_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = e7xxx_init_one,
-	.remove = __devexit_p(e7xxx_remove_one),
+	.remove = e7xxx_remove_one,
 	.id_table = e7xxx_pci_tbl,
 };
 
drivers/edac/i3000_edac.c +1 -1
index d3d19cc..22d43a0 100644
@@ -502,7 +502,7 @@ MODULE_DEVICE_TABLE(pci, i3000_pci_tbl);
 static struct pci_driver i3000_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i3000_init_one,
-	.remove = __devexit_p(i3000_remove_one),
+	.remove = i3000_remove_one,
 	.id_table = i3000_pci_tbl,
 };
 
drivers/edac/i3200_edac.c +1 -1
index b6653a6..532fabb 100644
@@ -467,7 +467,7 @@ MODULE_DEVICE_TABLE(pci, i3200_pci_tbl);
 static struct pci_driver i3200_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i3200_init_one,
-	.remove = __devexit_p(i3200_remove_one),
+	.remove = i3200_remove_one,
 	.id_table = i3200_pci_tbl,
 };
 
drivers/edac/i5000_edac.c +1 -1
index 6a49dd0..782b2880e 100644
@@ -1547,7 +1547,7 @@ MODULE_DEVICE_TABLE(pci, i5000_pci_tbl);
 static struct pci_driver i5000_driver = {
 	.name = KBUILD_BASENAME,
 	.probe = i5000_init_one,
-	.remove = __devexit_p(i5000_remove_one),
+	.remove = i5000_remove_one,
 	.id_table = i5000_pci_tbl,
 };
 
drivers/edac/i5100_edac.c +1 -1
index c4b5e5f..da5975e 100644
@@ -1054,7 +1054,7 @@ MODULE_DEVICE_TABLE(pci, i5100_pci_tbl);
 static struct pci_driver i5100_driver = {
 	.name = KBUILD_BASENAME,
 	.probe = i5100_init_one,
-	.remove = __devexit_p(i5100_remove_one),
+	.remove = i5100_remove_one,
 	.id_table = i5100_pci_tbl,
 };
 
drivers/edac/i5400_edac.c +1 -1
index 2772469..5c25d01 100644
@@ -1431,7 +1431,7 @@ MODULE_DEVICE_TABLE(pci, i5400_pci_tbl);
 static struct pci_driver i5400_driver = {
 	.name = "i5400_edac",
 	.probe = i5400_init_one,
-	.remove = __devexit_p(i5400_remove_one),
+	.remove = i5400_remove_one,
 	.id_table = i5400_pci_tbl,
 };
 
drivers/edac/i7300_edac.c +1 -1
index 9d669cd..62629fd 100644
@@ -1163,7 +1163,7 @@ MODULE_DEVICE_TABLE(pci, i7300_pci_tbl);
 static struct pci_driver i7300_driver = {
 	.name = "i7300_edac",
 	.probe = i7300_init_one,
-	.remove = __devexit_p(i7300_remove_one),
+	.remove = i7300_remove_one,
 	.id_table = i7300_pci_tbl,
 };
 
drivers/edac/i7core_edac.c +1 -1
index 3672101..aa0a97e 100644
@@ -2409,7 +2409,7 @@ MODULE_DEVICE_TABLE(pci, i7core_pci_tbl);
 static struct pci_driver i7core_driver = {
 	.name     = "i7core_edac",
 	.probe    = i7core_probe,
-	.remove   = __devexit_p(i7core_remove),
+	.remove   = i7core_remove,
 	.id_table = i7core_pci_tbl,
 };
 
drivers/edac/i82443bxgx_edac.c +1 -1
index 90f303d..454ba5a 100644
@@ -399,7 +399,7 @@ MODULE_DEVICE_TABLE(pci, i82443bxgx_pci_tbl);
 static struct pci_driver i82443bxgx_edacmc_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i82443bxgx_edacmc_init_one,
-	.remove = __devexit_p(i82443bxgx_edacmc_remove_one),
+	.remove = i82443bxgx_edacmc_remove_one,
 	.id_table = i82443bxgx_pci_tbl,
 };
 
drivers/edac/i82860_edac.c +1 -1
index 1faa749..040c1d5 100644
@@ -302,7 +302,7 @@ MODULE_DEVICE_TABLE(pci, i82860_pci_tbl);
 static struct pci_driver i82860_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i82860_init_one,
-	.remove = __devexit_p(i82860_remove_one),
+	.remove = i82860_remove_one,
 	.id_table = i82860_pci_tbl,
 };
 
drivers/edac/i82875p_edac.c +1 -1
index 3e416b1..a330640 100644
@@ -541,7 +541,7 @@ MODULE_DEVICE_TABLE(pci, i82875p_pci_tbl);
 static struct pci_driver i82875p_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i82875p_init_one,
-	.remove = __devexit_p(i82875p_remove_one),
+	.remove = i82875p_remove_one,
 	.id_table = i82875p_pci_tbl,
 };
 
drivers/edac/i82975x_edac.c +1 -1
index 082e91e..b6478a9 100644
@@ -733,7 +733,7 @@ MODULE_DEVICE_TABLE(pci, i82975x_pci_tbl);
 static struct pci_driver i82975x_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = i82975x_init_one,
-	.remove = __devexit_p(i82975x_remove_one),
+	.remove = i82975x_remove_one,
 	.id_table = i82975x_pci_tbl,
 };
 
drivers/edac/mv64x60_edac.c +1 -1
index 2b315c2..da27a7a 100644
@@ -221,7 +221,7 @@ static int mv64x60_pci_err_remove(struct platform_device *pdev)
 
 static struct platform_driver mv64x60_pci_err_driver = {
 	.probe = mv64x60_pci_err_probe,
-	.remove = __devexit_p(mv64x60_pci_err_remove),
+	.remove = mv64x60_pci_err_remove,
 	.driver = {
 		   .name = "mv64x60_pci_err",
 	}
drivers/edac/pasemi_edac.c +1 -1
index 2d35b78..69f08d6 100644
@@ -287,7 +287,7 @@ MODULE_DEVICE_TABLE(pci, pasemi_edac_pci_tbl);
 static struct pci_driver pasemi_edac_driver = {
 	.name = MODULE_NAME,
 	.probe = pasemi_edac_probe,
-	.remove = __devexit_p(pasemi_edac_remove),
+	.remove = pasemi_edac_remove,
 	.id_table = pasemi_edac_pci_tbl,
 };
 
drivers/edac/r82600_edac.c +1 -1
index f854deb..664b4c1 100644
@@ -397,7 +397,7 @@ MODULE_DEVICE_TABLE(pci, r82600_pci_tbl);
 static struct pci_driver r82600_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = r82600_init_one,
-	.remove = __devexit_p(r82600_remove_one),
+	.remove = r82600_remove_one,
 	.id_table = r82600_pci_tbl,
 };
 
drivers/edac/sb_edac.c +1 -1
index 9ad2424..79559f2 100644
@@ -1785,7 +1785,7 @@ MODULE_DEVICE_TABLE(pci, sbridge_pci_tbl);
 static struct pci_driver sbridge_driver = {
 	.name     = "sbridge_edac",
 	.probe    = sbridge_probe,
-	.remove   = __devexit_p(sbridge_remove),
+	.remove   = sbridge_remove,
 	.id_table = sbridge_pci_tbl,
 };
 
drivers/edac/tile_edac.c +1 -1
index 1e904b7..89c3c6b 100644
@@ -202,7 +202,7 @@ static struct platform_driver tile_edac_mc_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= tile_edac_mc_probe,
-	.remove		= __devexit_p(tile_edac_mc_remove),
+	.remove		= tile_edac_mc_remove,
 };
 
 /*
drivers/edac/x38_edac.c +1 -1
index 08a9926..2301418 100644
@@ -464,7 +464,7 @@ MODULE_DEVICE_TABLE(pci, x38_pci_tbl);
 static struct pci_driver x38_driver = {
 	.name = EDAC_MOD_STR,
 	.probe = x38_init_one,
-	.remove = __devexit_p(x38_remove_one),
+	.remove = x38_remove_one,
 	.id_table = x38_pci_tbl,
 };
 
Signature · 1 line
1.8.0
maintainer
#76 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Erm, I don't understand. __devexit_p is defined also for modules not only for CONFIG_HOTPLUG:

#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif

AFAICT, we cannot remove it yet no?

Thanks.

Signature · 2 lines
Regards/Gruss,
Boris.
maintainer
#77 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 7 lines · Borislav Petkov
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Erm, I don't understand. __devexit_p is defined also for modules not only for CONFIG_HOTPLUG:

Quoted 7 lines

#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif

AFAICT, we cannot remove it yet no?

If MODULE is defined, it defaults to nothing. And now that CONFIG_HOTPLUG is always set to Y, this always defaults to nothing.

So it's not set to anything anymore, so it can be removed and then this whole define chunk can be removed.

thanks,

greg k-h

maintainer
#78 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 14 lines · Greg KH
Quoted 13 lines · Borislav Petkov
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Erm, I don't understand. __devexit_p is defined also for modules not only for CONFIG_HOTPLUG:

#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif

Quoted 4 lines
Quoted 1 line

AFAICT, we cannot remove it yet no?

If MODULE is defined, it defaults to nothing. And now that CONFIG_HOTPLUG is always set to Y, this always defaults to nothing.

Huh, if MODULE is defined, __devexit_p(x) evaluates to the function name 'x' itself, AFAICT.

So, if MODULE is defined and we have a reference from retained sections to a discarded section (I'm rereading the comment over __devexit_p in <include/linux/init.h> btw) then we'll get linker errors so we'd still need the ifdef thing, no?

What am I missing?

Thanks.

Signature · 2 lines
Regards/Gruss,
Boris.
maintainer
#79 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 15 lines · Borislav Petkov
Quoted 14 lines · Greg KH
Quoted 13 lines · Borislav Petkov
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Erm, I don't understand. __devexit_p is defined also for modules not only for CONFIG_HOTPLUG:

#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
#endif

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

AFAICT, we cannot remove it yet no?

If MODULE is defined, it defaults to nothing. And now that CONFIG_HOTPLUG is always set to Y, this always defaults to nothing.

Huh, if MODULE is defined, __devexit_p(x) evaluates to the function name 'x' itself, AFAICT.

Yes, sorry, that is what I was trying to say here, I meant "nothing" in that the macro did not do anything, not that it was setting it to NULL.

Quoted 4 lines

So, if MODULE is defined and we have a reference from retained sections to a discarded section (I'm rereading the comment over __devexit_p in <include/linux/init.h> btw) then we'll get linker errors so we'd still need the ifdef thing, no?

No, as there will not be any discarded sections anymore because CONFIG_HOTPLUG is always enabled. We will just delete this whole #if/#endif section once all users of __devexit_p() are gone from the tree.

Does that help out?

thanks,

greg k-h

maintainer Acked-by
#80 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 6 lines · Greg KH

No, as there will not be any discarded sections anymore because CONFIG_HOTPLUG is always enabled. We will just delete this whole #if/#endif section once all users of __devexit_p() are gone from the tree.

Does that help out?

Yes, I missed the fact that there won't be any discarded sections anymore. Btw, in that case, you'd probably need to remove all those

#ifdef CONFIG_HOTPLUG

...

#endif

stanzas surrounding different places in the kernel (I see 40ish currenty) now that HOTPLUG is def_bool y and if you haven't done so yet.

Thanks for explaining.

Btw, you can have my

for the amd64_edac pieces.

Signature · 2 lines
Regards/Gruss,
Boris.
maintainer
#81 lore raw

Re: [PATCH 056/493] edac: remove use of __devexit_p

Quoted 11 lines · Borislav Petkov
Quoted 6 lines · Greg KH

No, as there will not be any discarded sections anymore because CONFIG_HOTPLUG is always enabled. We will just delete this whole #if/#endif section once all users of __devexit_p() are gone from the tree.

Does that help out?

Yes, I missed the fact that there won't be any discarded sections anymore. Btw, in that case, you'd probably need to remove all those

Quoted 8 lines

#ifdef CONFIG_HOTPLUG

...

#endif

stanzas surrounding different places in the kernel (I see 40ish currenty) now that HOTPLUG is def_bool y and if you haven't done so yet.

That removal was done as part of this 493 patches long patchset :)

Quoted 7 lines

Thanks for explaining.

Btw, you can have my

for the amd64_edac pieces.

Thanks, I will add it there,

greg k-h

#82 lore raw

PATCH 60/493 drm/exynos: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/gpu/drm/exynos/exynos_ddc.c      | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_drv.c  | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_g2d.c  | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 2 +-
 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 +-
 drivers/gpu/drm/exynos/exynos_hdmi.c     | 2 +-
 drivers/gpu/drm/exynos/exynos_hdmiphy.c  | 2 +-
 drivers/gpu/drm/exynos/exynos_mixer.c    | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
drivers/gpu/drm/exynos/exynos_ddc.c +1 -1
index 37e6ec7..6dd2b71 100644
@@ -64,6 +64,6 @@ struct i2c_driver ddc_driver = {
 	},
 	.id_table	= ddc_idtable,
 	.probe		= s5p_ddc_probe,
-	.remove		= __devexit_p(s5p_ddc_remove),
+	.remove		= s5p_ddc_remove,
 	.command		= NULL,
 };
drivers/gpu/drm/exynos/exynos_drm_drv.c +1 -1
index 1de7baa..2f59399 100644
@@ -295,7 +295,7 @@ static int exynos_drm_platform_remove(struct platform_device *pdev)
 
 static struct platform_driver exynos_drm_platform_driver = {
 	.probe		= exynos_drm_platform_probe,
-	.remove		= __devexit_p(exynos_drm_platform_remove),
+	.remove		= exynos_drm_platform_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "exynos-drm",
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -1
index 130a2b5..7be3fbf 100644
@@ -1050,7 +1050,7 @@ static const struct dev_pm_ops fimd_pm_ops = {
 
 struct platform_driver fimd_driver = {
 	.probe		= fimd_probe,
-	.remove		= __devexit_p(fimd_remove),
+	.remove		= fimd_remove,
 	.id_table       = fimd_driver_ids,
 	.driver		= {
 		.name	= "exynos4-fb",
drivers/gpu/drm/exynos/exynos_drm_g2d.c +1 -1
index f7aab24..422fce2 100644
@@ -899,7 +899,7 @@ static SIMPLE_DEV_PM_OPS(g2d_pm_ops, g2d_suspend, g2d_resume);
 
 struct platform_driver g2d_driver = {
 	.probe		= g2d_probe,
-	.remove		= __devexit_p(g2d_remove),
+	.remove		= g2d_remove,
 	.driver		= {
 		.name	= "s5p-g2d",
 		.owner	= THIS_MODULE,
drivers/gpu/drm/exynos/exynos_drm_hdmi.c +1 -1
index c3b9e2b..847df46 100644
@@ -389,7 +389,7 @@ static int __devexit exynos_drm_hdmi_remove(struct platform_device *pdev)
 
 struct platform_driver exynos_drm_common_hdmi_driver = {
 	.probe		= exynos_drm_hdmi_probe,
-	.remove		= __devexit_p(exynos_drm_hdmi_remove),
+	.remove		= exynos_drm_hdmi_remove,
 	.driver		= {
 		.name	= "exynos-drm-hdmi",
 		.owner	= THIS_MODULE,
drivers/gpu/drm/exynos/exynos_drm_vidi.c +1 -1
index e4b8a8f..eb19a41 100644
@@ -705,7 +705,7 @@ static const struct dev_pm_ops vidi_pm_ops = {
 
 struct platform_driver vidi_driver = {
 	.probe		= vidi_probe,
-	.remove		= __devexit_p(vidi_remove),
+	.remove		= vidi_remove,
 	.driver		= {
 		.name	= "exynos-drm-vidi",
 		.owner	= THIS_MODULE,
drivers/gpu/drm/exynos/exynos_hdmi.c +1 -1
index 2c115f8..f7ca470 100644
@@ -2536,7 +2536,7 @@ static SIMPLE_DEV_PM_OPS(hdmi_pm_ops, hdmi_suspend, hdmi_resume);
 
 struct platform_driver hdmi_driver = {
 	.probe		= hdmi_probe,
-	.remove		= __devexit_p(hdmi_remove),
+	.remove		= hdmi_remove,
 	.id_table = hdmi_driver_types,
 	.driver		= {
 		.name	= "exynos-hdmi",
drivers/gpu/drm/exynos/exynos_hdmiphy.c +1 -1
index 27d1720..aef22ad 100644
@@ -62,7 +62,7 @@ struct i2c_driver hdmiphy_driver = {
 	},
 	.id_table = hdmiphy_id,
 	.probe		= hdmiphy_probe,
-	.remove		= __devexit_p(hdmiphy_remove),
+	.remove		= hdmiphy_remove,
 	.command		= NULL,
 };
 EXPORT_SYMBOL(hdmiphy_driver);
drivers/gpu/drm/exynos/exynos_mixer.c +1 -1
index e7fbb82..5a10c5f 100644
@@ -1218,6 +1218,6 @@ struct platform_driver mixer_driver = {
 		.of_match_table = mixer_match_types,
 	},
 	.probe = mixer_probe,
-	.remove = __devexit_p(mixer_remove),
+	.remove = mixer_remove,
 	.id_table	= mixer_driver_types,
 };
Signature · 1 line
1.8.0
#83 lore raw

PATCH 61/493 gma500: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c +2 -2
index 4a07ab5..771ff66 100644
@@ -700,7 +700,7 @@ static struct i2c_driver tc35876x_bridge_i2c_driver = {
 	},
 	.id_table = tc35876x_bridge_id,
 	.probe = tc35876x_bridge_probe,
-	.remove = __devexit_p(tc35876x_bridge_remove),
+	.remove = tc35876x_bridge_remove,
 };
 
 /* LCD panel I2C */
@@ -741,7 +741,7 @@ static struct i2c_driver cmi_lcd_i2c_driver = {
 	},
 	.id_table = cmi_lcd_i2c_id,
 	.probe = cmi_lcd_i2c_probe,
-	.remove = __devexit_p(cmi_lcd_i2c_remove),
+	.remove = cmi_lcd_i2c_remove,
 };
 
 /* HACK to create I2C device while it's not created by platform code */
Signature · 1 line
1.8.0
#84 lore raw

PATCH 62/493 drm: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/gpu/drm/shmobile/shmob_drm_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/shmobile/shmob_drm_drv.c +1 -1
index 1c350fc..9b7d327 100644
@@ -344,7 +344,7 @@ static int __devexit shmob_drm_remove(struct platform_device *pdev)
 
 static struct platform_driver shmob_drm_platform_driver = {
 	.probe		= shmob_drm_probe,
-	.remove		= __devexit_p(shmob_drm_remove),
+	.remove		= shmob_drm_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "shmob-drm",
Signature · 1 line
1.8.0
#85 lore raw

PATCH 64/493 hwspinlock: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Ohad Ben-Cohen <[email protected]>
Cc Srinidhi Kasagar <[email protected]>
Cc Linus Walleij <[email protected]>
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
---
 drivers/hwspinlock/omap_hwspinlock.c | 2 +-
 drivers/hwspinlock/u8500_hsem.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/hwspinlock/omap_hwspinlock.c +1 -1
index 887d34e..28640b8 100644
@@ -163,7 +163,7 @@ static int __devexit omap_hwspinlock_remove(struct platform_device *pdev)
 
 static struct platform_driver omap_hwspinlock_driver = {
 	.probe		= omap_hwspinlock_probe,
-	.remove		= __devexit_p(omap_hwspinlock_remove),
+	.remove		= omap_hwspinlock_remove,
 	.driver		= {
 		.name	= "omap_hwspinlock",
 		.owner	= THIS_MODULE,
drivers/hwspinlock/u8500_hsem.c +1 -1
index 86980fe..4039810 100644
@@ -172,7 +172,7 @@ static int __devexit u8500_hsem_remove(struct platform_device *pdev)
 
 static struct platform_driver u8500_hsem_driver = {
 	.probe		= u8500_hsem_probe,
-	.remove		= __devexit_p(u8500_hsem_remove),
+	.remove		= u8500_hsem_remove,
 	.driver		= {
 		.name	= "u8500_hsem",
 		.owner	= THIS_MODULE,
Signature · 1 line
1.8.0
#86 lore raw

PATCH 64/493 hwspinlock: remove use of __devexit_p

Quoted 9 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Ohad Ben-Cohen <[email protected]>
Cc Srinidhi Kasagar <[email protected]>
Cc Linus Walleij <[email protected]>
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org

Yours,
Linus Walleij

#87 lore raw

PATCH 65/493 i2c: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Jean Delvare <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc "Ben Dooks " <[email protected]>
Cc Rudolf Marek <[email protected]>
Cc Jochen Friedrich <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Olof Johansson <[email protected]>
Cc Vitaly Wool <[email protected]>
Cc Guan Xuetao <[email protected]>
Cc Barry Song <[email protected]>
Cc "Mark M. Hoffman" <[email protected]>
Cc linux-i2c at vger.kernel.org
Cc linuxppc-dev at lists.ozlabs.org
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
---
 drivers/i2c/busses/i2c-ali1535.c            | 2 +-
 drivers/i2c/busses/i2c-ali1563.c            | 2 +-
 drivers/i2c/busses/i2c-ali15x3.c            | 2 +-
 drivers/i2c/busses/i2c-amd756.c             | 2 +-
 drivers/i2c/busses/i2c-amd8111.c            | 2 +-
 drivers/i2c/busses/i2c-at91.c               | 2 +-
 drivers/i2c/busses/i2c-au1550.c             | 2 +-
 drivers/i2c/busses/i2c-cpm.c                | 2 +-
 drivers/i2c/busses/i2c-designware-pcidrv.c  | 2 +-
 drivers/i2c/busses/i2c-designware-platdrv.c | 2 +-
 drivers/i2c/busses/i2c-eg20t.c              | 2 +-
 drivers/i2c/busses/i2c-elektor.c            | 2 +-
 drivers/i2c/busses/i2c-gpio.c               | 2 +-
 drivers/i2c/busses/i2c-highlander.c         | 2 +-
 drivers/i2c/busses/i2c-hydra.c              | 2 +-
 drivers/i2c/busses/i2c-i801.c               | 2 +-
 drivers/i2c/busses/i2c-ibm_iic.c            | 2 +-
 drivers/i2c/busses/i2c-intel-mid.c          | 2 +-
 drivers/i2c/busses/i2c-isch.c               | 2 +-
 drivers/i2c/busses/i2c-mpc.c                | 2 +-
 drivers/i2c/busses/i2c-mv64xxx.c            | 2 +-
 drivers/i2c/busses/i2c-mxs.c                | 2 +-
 drivers/i2c/busses/i2c-nforce2.c            | 2 +-
 drivers/i2c/busses/i2c-nuc900.c             | 2 +-
 drivers/i2c/busses/i2c-ocores.c             | 2 +-
 drivers/i2c/busses/i2c-octeon.c             | 2 +-
 drivers/i2c/busses/i2c-omap.c               | 2 +-
 drivers/i2c/busses/i2c-parport-light.c      | 2 +-
 drivers/i2c/busses/i2c-pasemi.c             | 2 +-
 drivers/i2c/busses/i2c-pca-isa.c            | 2 +-
 drivers/i2c/busses/i2c-pca-platform.c       | 2 +-
 drivers/i2c/busses/i2c-piix4.c              | 2 +-
 drivers/i2c/busses/i2c-pmcmsp.c             | 2 +-
 drivers/i2c/busses/i2c-pnx.c                | 2 +-
 drivers/i2c/busses/i2c-powermac.c           | 2 +-
 drivers/i2c/busses/i2c-puv3.c               | 2 +-
 drivers/i2c/busses/i2c-pxa-pci.c            | 2 +-
 drivers/i2c/busses/i2c-rcar.c               | 2 +-
 drivers/i2c/busses/i2c-s6000.c              | 2 +-
 drivers/i2c/busses/i2c-sh7760.c             | 2 +-
 drivers/i2c/busses/i2c-sirf.c               | 2 +-
 drivers/i2c/busses/i2c-sis630.c             | 2 +-
 drivers/i2c/busses/i2c-sis96x.c             | 2 +-
 drivers/i2c/busses/i2c-tegra.c              | 2 +-
 drivers/i2c/busses/i2c-via.c                | 2 +-
 drivers/i2c/busses/i2c-xiic.c               | 2 +-
 drivers/i2c/busses/i2c-xlr.c                | 2 +-
 drivers/i2c/busses/scx200_acb.c             | 2 +-
 drivers/i2c/muxes/i2c-mux-gpio.c            | 2 +-
 drivers/i2c/muxes/i2c-mux-pinctrl.c         | 2 +-
 50 files changed, 50 insertions(+), 50 deletions(-)
drivers/i2c/busses/i2c-ali1535.c +1 -1
index 125cd8e..cb30432 100644
@@ -528,7 +528,7 @@ static struct pci_driver ali1535_driver = {
 	.name		= "ali1535_smbus",
 	.id_table	= ali1535_ids,
 	.probe		= ali1535_probe,
-	.remove		= __devexit_p(ali1535_remove),
+	.remove		= ali1535_remove,
 };
 
 module_pci_driver(ali1535_driver);
drivers/i2c/busses/i2c-ali1563.c +1 -1
index e02d9f8..547a96f 100644
@@ -428,7 +428,7 @@ static struct pci_driver ali1563_pci_driver = {
  	.name		= "ali1563_smbus",
 	.id_table	= ali1563_id_table,
  	.probe		= ali1563_probe,
-	.remove		= __devexit_p(ali1563_remove),
+	.remove		= ali1563_remove,
 };
 
 module_pci_driver(ali1563_pci_driver);
drivers/i2c/busses/i2c-ali15x3.c +1 -1
index ce8d26d..62692ec 100644
@@ -510,7 +510,7 @@ static struct pci_driver ali15x3_driver = {
 	.name		= "ali15x3_smbus",
 	.id_table	= ali15x3_ids,
 	.probe		= ali15x3_probe,
-	.remove		= __devexit_p(ali15x3_remove),
+	.remove		= ali15x3_remove,
 };
 
 module_pci_driver(ali15x3_driver);
drivers/i2c/busses/i2c-amd756.c +1 -1
index 304aa03..b890764 100644
@@ -407,7 +407,7 @@ static struct pci_driver amd756_driver = {
 	.name		= "amd756_smbus",
 	.id_table	= amd756_ids,
 	.probe		= amd756_probe,
-	.remove		= __devexit_p(amd756_remove),
+	.remove		= amd756_remove,
 };
 
 module_pci_driver(amd756_driver);
drivers/i2c/busses/i2c-amd8111.c +1 -1
index 0919ac1..f5e5f70 100644
@@ -488,7 +488,7 @@ static struct pci_driver amd8111_driver = {
 	.name		= "amd8111_smbus2",
 	.id_table	= amd8111_ids,
 	.probe		= amd8111_probe,
-	.remove		= __devexit_p(amd8111_remove),
+	.remove		= amd8111_remove,
 };
 
 module_pci_driver(amd8111_driver);
drivers/i2c/busses/i2c-at91.c +1 -1
index c02bf20..d699e61 100644
@@ -530,7 +530,7 @@ static const struct dev_pm_ops at91_twi_pm = {
 
 static struct platform_driver at91_twi_driver = {
 	.probe		= at91_twi_probe,
-	.remove		= __devexit_p(at91_twi_remove),
+	.remove		= at91_twi_remove,
 	.id_table	= at91_twi_devtypes,
 	.driver		= {
 		.name	= "at91_i2c",
drivers/i2c/busses/i2c-au1550.c +1 -1
index 582d616..4c9cfc9 100644
@@ -423,7 +423,7 @@ static struct platform_driver au1xpsc_smbus_driver = {
 		.pm	= AU1XPSC_SMBUS_PMOPS,
 	},
 	.probe		= i2c_au1550_probe,
-	.remove		= __devexit_p(i2c_au1550_remove),
+	.remove		= i2c_au1550_remove,
 };
 
 module_platform_driver(au1xpsc_smbus_driver);
drivers/i2c/busses/i2c-cpm.c +1 -1
index c1e1096..8d70fd3 100644
@@ -716,7 +716,7 @@ MODULE_DEVICE_TABLE(of, cpm_i2c_match);
 
 static struct platform_driver cpm_i2c_driver = {
 	.probe		= cpm_i2c_probe,
-	.remove		= __devexit_p(cpm_i2c_remove),
+	.remove		= cpm_i2c_remove,
 	.driver = {
 		.name = "fsl-i2c-cpm",
 		.owner = THIS_MODULE,
drivers/i2c/busses/i2c-designware-pcidrv.c +1 -1
index 92a1e2c..85df062 100644
@@ -368,7 +368,7 @@ static struct pci_driver dw_i2c_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= i2_designware_pci_ids,
 	.probe		= i2c_dw_pci_probe,
-	.remove		= __devexit_p(i2c_dw_pci_remove),
+	.remove		= i2c_dw_pci_remove,
 	.driver         = {
 		.pm     = &i2c_dw_pm_ops,
 	},
drivers/i2c/busses/i2c-designware-platdrv.c +1 -1
index 0506fef..ccde6ec 100644
@@ -228,7 +228,7 @@ static SIMPLE_DEV_PM_OPS(dw_i2c_dev_pm_ops, dw_i2c_suspend, dw_i2c_resume);
 MODULE_ALIAS("platform:i2c_designware");
 
 static struct platform_driver dw_i2c_driver = {
-	.remove		= __devexit_p(dw_i2c_remove),
+	.remove		= dw_i2c_remove,
 	.driver		= {
 		.name	= "i2c_designware",
 		.owner	= THIS_MODULE,
drivers/i2c/busses/i2c-eg20t.c +1 -1
index 259f769..128c98c 100644
@@ -948,7 +948,7 @@ static struct pci_driver pch_pcidriver = {
 	.name = KBUILD_MODNAME,
 	.id_table = pch_pcidev_id,
 	.probe = pch_i2c_probe,
-	.remove = __devexit_p(pch_i2c_remove),
+	.remove = pch_i2c_remove,
 	.suspend = pch_i2c_suspend,
 	.resume = pch_i2c_resume
 };
drivers/i2c/busses/i2c-elektor.c +1 -1
index 37e2e82..14af6b4 100644
@@ -316,7 +316,7 @@ static int __devexit elektor_remove(struct device *dev, unsigned int id)
 static struct isa_driver i2c_elektor_driver = {
 	.match		= elektor_match,
 	.probe		= elektor_probe,
-	.remove		= __devexit_p(elektor_remove),
+	.remove		= elektor_remove,
 	.driver = {
 		.owner	= THIS_MODULE,
 		.name	= "i2c-elektor",
drivers/i2c/busses/i2c-gpio.c +1 -1
index 257299a..be8cb0d 100644
@@ -251,7 +251,7 @@ static struct platform_driver i2c_gpio_driver = {
 		.of_match_table	= of_match_ptr(i2c_gpio_dt_ids),
 	},
 	.probe		= i2c_gpio_probe,
-	.remove		= __devexit_p(i2c_gpio_remove),
+	.remove		= i2c_gpio_remove,
 };
 
 static int __init i2c_gpio_init(void)
drivers/i2c/busses/i2c-highlander.c +1 -1
index 19515df..f2cfb34 100644
@@ -465,7 +465,7 @@ static struct platform_driver highlander_i2c_driver = {
 	},
 
 	.probe		= highlander_i2c_probe,
-	.remove		= __devexit_p(highlander_i2c_remove),
+	.remove		= highlander_i2c_remove,
 };
 
 module_platform_driver(highlander_i2c_driver);
drivers/i2c/busses/i2c-hydra.c +1 -1
index c9f95e1..b24be50 100644
@@ -153,7 +153,7 @@ static struct pci_driver hydra_driver = {
 	.name		= "hydra_smbus",
 	.id_table	= hydra_ids,
 	.probe		= hydra_probe,
-	.remove		= __devexit_p(hydra_remove),
+	.remove		= hydra_remove,
 };
 
 module_pci_driver(hydra_driver);
drivers/i2c/busses/i2c-i801.c +1 -1
index 1e73638..acaa47d 100644
@@ -1272,7 +1272,7 @@ static struct pci_driver i801_driver = {
 	.name		= "i801_smbus",
 	.id_table	= i801_ids,
 	.probe		= i801_probe,
-	.remove		= __devexit_p(i801_remove),
+	.remove		= i801_remove,
 	.suspend	= i801_suspend,
 	.resume		= i801_resume,
 };
drivers/i2c/busses/i2c-ibm_iic.c +1 -1
index 806e225..a10fdab 100644
@@ -812,7 +812,7 @@ static struct platform_driver ibm_iic_driver = {
 		.of_match_table = ibm_iic_match,
 	},
 	.probe	= iic_probe,
-	.remove	= __devexit_p(iic_remove),
+	.remove	= iic_remove,
 };
 
 module_platform_driver(ibm_iic_driver);
drivers/i2c/busses/i2c-intel-mid.c +1 -1
index 7c28f10..7616007 100644
@@ -1113,7 +1113,7 @@ static struct pci_driver intel_mid_i2c_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= intel_mid_i2c_ids,
 	.probe		= intel_mid_i2c_probe,
-	.remove		= __devexit_p(intel_mid_i2c_remove),
+	.remove		= intel_mid_i2c_remove,
 };
 
 module_pci_driver(intel_mid_i2c_driver);
drivers/i2c/busses/i2c-isch.c +1 -1
index f90a605..1c050a6 100644
@@ -303,7 +303,7 @@ static struct platform_driver smbus_sch_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe		= smbus_sch_probe,
-	.remove		= __devexit_p(smbus_sch_remove),
+	.remove		= smbus_sch_remove,
 };
 
 module_platform_driver(smbus_sch_driver);
drivers/i2c/busses/i2c-mpc.c +1 -1
index ca86430..f016eef 100644
@@ -785,7 +785,7 @@ MODULE_DEVICE_TABLE(of, mpc_i2c_of_match);
 /* Structure for a device driver */
 static struct platform_driver mpc_i2c_driver = {
 	.probe		= fsl_i2c_probe,
-	.remove		= __devexit_p(fsl_i2c_remove),
+	.remove		= fsl_i2c_remove,
 	.driver = {
 		.owner = THIS_MODULE,
 		.name = DRV_NAME,
drivers/i2c/busses/i2c-mv64xxx.c +1 -1
index 2e9d567..3107c0a 100644
@@ -726,7 +726,7 @@ MODULE_DEVICE_TABLE(of, mv64xxx_i2c_of_match_table);
 
 static struct platform_driver mv64xxx_i2c_driver = {
 	.probe	= mv64xxx_i2c_probe,
-	.remove	= __devexit_p(mv64xxx_i2c_remove),
+	.remove	= mv64xxx_i2c_remove,
 	.driver	= {
 		.owner	= THIS_MODULE,
 		.name	= MV64XXX_I2C_CTLR_NAME,
drivers/i2c/busses/i2c-mxs.c +1 -1
index 286ca19..e317b28 100644
@@ -544,7 +544,7 @@ static struct platform_driver mxs_i2c_driver = {
 		   .owner = THIS_MODULE,
 		   .of_match_table = mxs_i2c_dt_ids,
 		   },
-	.remove = __devexit_p(mxs_i2c_remove),
+	.remove = mxs_i2c_remove,
 };
 
 static int __init mxs_i2c_init(void)
drivers/i2c/busses/i2c-nforce2.c +1 -1
index 392303b..9ed5721 100644
@@ -450,7 +450,7 @@ static struct pci_driver nforce2_driver = {
 	.name		= "nForce2_smbus",
 	.id_table	= nforce2_ids,
 	.probe		= nforce2_probe,
-	.remove		= __devexit_p(nforce2_remove),
+	.remove		= nforce2_remove,
 };
 
 module_pci_driver(nforce2_driver);
drivers/i2c/busses/i2c-nuc900.c +1 -1
index f41502e..29939f2 100644
@@ -684,7 +684,7 @@ static int __devexit nuc900_i2c_remove(struct platform_device *pdev)
 
 static struct platform_driver nuc900_i2c_driver = {
 	.probe		= nuc900_i2c_probe,
-	.remove		= __devexit_p(nuc900_i2c_remove),
+	.remove		= nuc900_i2c_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= "nuc900-i2c0",
drivers/i2c/busses/i2c-ocores.c +1 -1
index 1fad4ae..856fd5a 100644
@@ -386,7 +386,7 @@ MODULE_DEVICE_TABLE(of, ocores_i2c_match);
 
 static struct platform_driver ocores_i2c_driver = {
 	.probe   = ocores_i2c_probe,
-	.remove  = __devexit_p(ocores_i2c_remove),
+	.remove  = ocores_i2c_remove,
 	.driver  = {
 		.owner = THIS_MODULE,
 		.name = "ocores-i2c",
drivers/i2c/busses/i2c-octeon.c +1 -1
index f44c835..e5015d4 100644
@@ -628,7 +628,7 @@ MODULE_DEVICE_TABLE(of, octeon_i2c_match);
 
 static struct platform_driver octeon_i2c_driver = {
 	.probe		= octeon_i2c_probe,
-	.remove		= __devexit_p(octeon_i2c_remove),
+	.remove		= octeon_i2c_remove,
 	.driver		= {
 		.owner	= THIS_MODULE,
 		.name	= DRV_NAME,
drivers/i2c/busses/i2c-omap.c +1 -1
index 482c63d..8721f98 100644
@@ -1334,7 +1334,7 @@ static struct dev_pm_ops omap_i2c_pm_ops = {
 
 static struct platform_driver omap_i2c_driver = {
 	.probe		= omap_i2c_probe,
-	.remove		= __devexit_p(omap_i2c_remove),
+	.remove		= omap_i2c_remove,
 	.driver		= {
 		.name	= "omap_i2c",
 		.owner	= THIS_MODULE,
drivers/i2c/busses/i2c-parport-light.c +1 -1
index 4b95f7a..240f724 100644
@@ -191,7 +191,7 @@ static struct platform_driver i2c_parport_driver = {
 		.name	= DRVNAME,
 	},
 	.probe		= i2c_parport_probe,
-	.remove		= __devexit_p(i2c_parport_remove),
+	.remove		= i2c_parport_remove,
 };
 
 static int __init i2c_parport_device_add(u16 address)
drivers/i2c/busses/i2c-pasemi.c +1 -1
index 12edefd..dae53c3 100644
@@ -412,7 +412,7 @@ static struct pci_driver pasemi_smb_driver = {
 	.name		= "i2c-pasemi",
 	.id_table	= pasemi_smb_ids,
 	.probe		= pasemi_smb_probe,
-	.remove		= __devexit_p(pasemi_smb_remove),
+	.remove		= pasemi_smb_remove,
 };
 
 module_pci_driver(pasemi_smb_driver);
drivers/i2c/busses/i2c-pca-isa.c +1 -1
index 29933f8..7e75a12 100644
@@ -190,7 +190,7 @@ static int __devexit pca_isa_remove(struct device *dev, unsigned int id)
 static struct isa_driver pca_isa_driver = {
 	.match		= pca_isa_match,
 	.probe		= pca_isa_probe,
-	.remove		= __devexit_p(pca_isa_remove),
+	.remove		= pca_isa_remove,
 	.driver = {
 		.owner	= THIS_MODULE,
 		.name	= DRIVER,
drivers/i2c/busses/i2c-pca-platform.c +1 -1
index 675878f..bffa7d6 100644
@@ -279,7 +279,7 @@ static int __devexit i2c_pca_pf_remove(struct platform_device *pdev)
 
 static struct platform_driver i2c_pca_pf_driver = {
 	.probe = i2c_pca_pf_probe,
-	.remove = __devexit_p(i2c_pca_pf_remove),
+	.remove = i2c_pca_pf_remove,
 	.driver = {
 		.name = "i2c-pca-platform",
 		.owner = THIS_MODULE,
drivers/i2c/busses/i2c-piix4.c +1 -1
index f7216ed..6253e0b 100644
@@ -655,7 +655,7 @@ static struct pci_driver piix4_driver = {
 	.name		= "piix4_smbus",
 	.id_table	= piix4_ids,
 	.probe		= piix4_probe,
-	.remove		= __devexit_p(piix4_remove),
+	.remove		= piix4_remove,
 };
 
 module_pci_driver(piix4_driver);
drivers/i2c/busses/i2c-pmcmsp.c +1 -1
index 3d71395..4ef4a4c 100644
@@ -628,7 +628,7 @@ static struct i2c_adapter pmcmsptwi_adapter = {
 
 static struct platform_driver pmcmsptwi_driver = {
 	.probe  = pmcmsptwi_probe,
-	.remove	= __devexit_p(pmcmsptwi_remove),
+	.remove	= pmcmsptwi_remove,
 	.driver = {
 		.name	= DRV_NAME,
 		.owner	= THIS_MODULE,
drivers/i2c/busses/i2c-pnx.c +1 -1
index 8488bdd..efd2c4f 100644
@@ -797,7 +797,7 @@ static struct platform_driver i2c_pnx_driver = {
 		.pm = PNX_I2C_PM,
 	},
 	.probe = i2c_pnx_probe,
-	.remove = __devexit_p(i2c_pnx_remove),
+	.remove = i2c_pnx_remove,
 };
 
 static int __init i2c_adap_pnx_init(void)
drivers/i2c/busses/i2c-powermac.c +1 -1
index 5285f85..cb8ae67 100644
@@ -467,7 +467,7 @@ static int __devinit i2c_powermac_probe(struct platform_device *dev)
 
 static struct platform_driver i2c_powermac_driver = {
 	.probe = i2c_powermac_probe,
-	.remove = __devexit_p(i2c_powermac_remove),
+	.remove = i2c_powermac_remove,
 	.driver = {
 		.name = "i2c-powermac",
 		.bus = &platform_bus_type,
drivers/i2c/busses/i2c-puv3.c +1 -1
index d8515be..55a9e8c 100644
@@ -276,7 +276,7 @@ static SIMPLE_DEV_PM_OPS(puv3_i2c_pm, puv3_i2c_suspend, NULL);
 
 static struct platform_driver puv3_i2c_driver = {
 	.probe		= puv3_i2c_probe,
-	.remove		= __devexit_p(puv3_i2c_remove),
+	.remove		= puv3_i2c_remove,
 	.driver		= {
 		.name	= "PKUnity-v3-I2C",
 		.owner	= THIS_MODULE,
drivers/i2c/busses/i2c-pxa-pci.c +1 -1
index 4dc9bef..9e1f180 100644
@@ -160,7 +160,7 @@ static struct pci_driver ce4100_i2c_driver = {
 	.name           = "ce4100_i2c",
 	.id_table       = ce4100_i2c_devices,
 	.probe          = ce4100_i2c_probe,
-	.remove         = __devexit_p(ce4100_i2c_remove),
+	.remove         = ce4100_i2c_remove,
 };
 
 module_pci_driver(ce4100_i2c_driver);
drivers/i2c/busses/i2c-rcar.c +1 -1
index 72a8071..44a29bd 100644
@@ -699,7 +699,7 @@ static struct platform_driver rcar_i2c_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= rcar_i2c_probe,
-	.remove		= __devexit_p(rcar_i2c_remove),
+	.remove		= rcar_i2c_remove,
 };
 
 module_platform_driver(rcar_i2c_driver);
drivers/i2c/busses/i2c-s6000.c +1 -1
index b76a29d..eebd9e1 100644
@@ -378,7 +378,7 @@ static int __devexit s6i2c_remove(struct platform_device *pdev)
 
 static struct platform_driver s6i2c_driver = {
 	.probe		= s6i2c_probe,
-	.remove		= __devexit_p(s6i2c_remove),
+	.remove		= s6i2c_remove,
 	.driver		= {
 		.name	= DRV_NAME,
 		.owner	= THIS_MODULE,
drivers/i2c/busses/i2c-sh7760.c +1 -1
index c0c9dff..ada2b87 100644
@@ -557,7 +557,7 @@ static struct platform_driver sh7760_i2c_drv = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= sh7760_i2c_probe,
-	.remove		= __devexit_p(sh7760_i2c_remove),
+	.remove		= sh7760_i2c_remove,
 };
 
 module_platform_driver(sh7760_i2c_drv);
drivers/i2c/busses/i2c-sirf.c +1 -1
index 5574a47..87e70e5 100644
@@ -449,7 +449,7 @@ static struct platform_driver i2c_sirfsoc_driver = {
 		.of_match_table = sirfsoc_i2c_of_match,
 	},
 	.probe = i2c_sirfsoc_probe,
-	.remove = __devexit_p(i2c_sirfsoc_remove),
+	.remove = i2c_sirfsoc_remove,
 };
 module_platform_driver(i2c_sirfsoc_driver);
 
drivers/i2c/busses/i2c-sis630.c +1 -1
index 5d6723b..ec8a4bc 100644
@@ -510,7 +510,7 @@ static struct pci_driver sis630_driver = {
 	.name		= "sis630_smbus",
 	.id_table	= sis630_ids,
 	.probe		= sis630_probe,
-	.remove		= __devexit_p(sis630_remove),
+	.remove		= sis630_remove,
 };
 
 module_pci_driver(sis630_driver);
drivers/i2c/busses/i2c-sis96x.c +1 -1
index 7b72614..8b64c17 100644
@@ -321,7 +321,7 @@ static struct pci_driver sis96x_driver = {
 	.name		= "sis96x_smbus",
 	.id_table	= sis96x_ids,
 	.probe		= sis96x_probe,
-	.remove		= __devexit_p(sis96x_remove),
+	.remove		= sis96x_remove,
 };
 
 module_pci_driver(sis96x_driver);
drivers/i2c/busses/i2c-tegra.c +1 -1
index dcea77b..a2125b6 100644
@@ -817,7 +817,7 @@ static SIMPLE_DEV_PM_OPS(tegra_i2c_pm, tegra_i2c_suspend, tegra_i2c_resume);
 
 static struct platform_driver tegra_i2c_driver = {
 	.probe   = tegra_i2c_probe,
-	.remove  = __devexit_p(tegra_i2c_remove),
+	.remove  = tegra_i2c_remove,
 	.driver  = {
 		.name  = "tegra-i2c",
 		.owner = THIS_MODULE,
drivers/i2c/busses/i2c-via.c +1 -1
index 7ffee71..6278780 100644
@@ -158,7 +158,7 @@ static struct pci_driver vt586b_driver = {
 	.name		= "vt586b_smbus",
 	.id_table	= vt586b_ids,
 	.probe		= vt586b_probe,
-	.remove		= __devexit_p(vt586b_remove),
+	.remove		= vt586b_remove,
 };
 
 module_pci_driver(vt586b_driver);
drivers/i2c/busses/i2c-xiic.c +1 -1
index 641d0e5..aac948a 100644
@@ -809,7 +809,7 @@ MODULE_DEVICE_TABLE(of, xiic_of_match);
 
 static struct platform_driver xiic_i2c_driver = {
 	.probe   = xiic_i2c_probe,
-	.remove  = __devexit_p(xiic_i2c_remove),
+	.remove  = xiic_i2c_remove,
 	.driver  = {
 		.owner = THIS_MODULE,
 		.name = DRIVER_NAME,
drivers/i2c/busses/i2c-xlr.c +1 -1
index 96d3fab..eb7d5f7 100644
@@ -263,7 +263,7 @@ static int __devexit xlr_i2c_remove(struct platform_device *pdev)
 
 static struct platform_driver xlr_i2c_driver = {
 	.probe  = xlr_i2c_probe,
-	.remove = __devexit_p(xlr_i2c_remove),
+	.remove = xlr_i2c_remove,
 	.driver = {
 		.name   = "xlr-i2cbus",
 		.owner  = THIS_MODULE,
drivers/i2c/busses/scx200_acb.c +1 -1
index 08aab57..82971a8 100644
@@ -554,7 +554,7 @@ static struct platform_driver scx200_pci_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = scx200_probe,
-	.remove = __devexit_p(scx200_remove),
+	.remove = scx200_remove,
 };
 
 static DEFINE_PCI_DEVICE_TABLE(scx200_isa) = {
drivers/i2c/muxes/i2c-mux-gpio.c +1 -1
index 566a675..08fd89d 100644
@@ -182,7 +182,7 @@ static int __devexit i2c_mux_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver i2c_mux_gpio_driver = {
 	.probe	= i2c_mux_gpio_probe,
-	.remove	= __devexit_p(i2c_mux_gpio_remove),
+	.remove	= i2c_mux_gpio_remove,
 	.driver	= {
 		.owner	= THIS_MODULE,
 		.name	= "i2c-mux-gpio",
drivers/i2c/muxes/i2c-mux-pinctrl.c +1 -1
index 7fa5b24..f0b397d 100644
@@ -269,7 +269,7 @@ static struct platform_driver i2c_mux_pinctrl_driver = {
 		.of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match),
 	},
 	.probe	= i2c_mux_pinctrl_probe,
-	.remove	= __devexit_p(i2c_mux_pinctrl_remove),
+	.remove	= i2c_mux_pinctrl_remove,
 };
 module_platform_driver(i2c_mux_pinctrl_driver);
 
Signature · 1 line
1.8.0
#89 lore raw

PATCH 65/493 i2c: remove use of __devexit_p

In reply to Bill Pemberton
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

As mentioned on the lm-sensors list for hwmon patches already, I think it would be much clearer to not split __devexit, __devexit_p, __devinit etc. removal into separate patches. One patch per subsystem would be easier to review and apply. If patches grow too large then you'd rather split in a different direction, for example drivers/i2c/muxes vs. drivers/i2c/busses or even grouped by related bus drivers (see entries "I2C OVER PARALLEL PORT" and "I2C/SMBUS CONTROLLER DRIVERS FOR PC" in MAINTAINERS for examples of meaningful groups.)

Signature · 1 line
Jean Delvare
#90 lore raw

PATCH 65/493 i2c: remove use of __devexit_p

Quoted 4 lines · Jean Delvare
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Quoted 8 lines

As mentioned on the lm-sensors list for hwmon patches already, I think it would be much clearer to not split __devexit, __devexit_p, __devinit etc. removal into separate patches. One patch per subsystem would be easier to review and apply. If patches grow too large then you'd rather split in a different direction, for example drivers/i2c/muxes vs. drivers/i2c/busses or even grouped by related bus drivers (see entries "I2C OVER PARALLEL PORT" and "I2C/SMBUS CONTROLLER DRIVERS FOR PC" in MAINTAINERS for examples of meaningful groups.)

I agree with Jean here. Is there a V2 planned? With a change like this?

Signature · 9 lines
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121122/afe44b96/attachment.sig>
#91 lore raw

PATCH 65/493 i2c: remove use of __devexit_p

Quoted 21 lines · Wolfram Sang

--osDK9TLjxFScVI/L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoted 12 lines · Jean Delvare
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

=20
As mentioned on the lm-sensors list for hwmon patches already, I think it would be much clearer to not split __devexit, __devexit_p, __devinit etc. removal into separate patches. One patch per subsystem would be easier to review and apply. If patches grow too large then you'd rather split in a different direction, for example drivers/i2c/muxes vs. drivers/i2c/busses or even grouped by related bus drivers (see entries "I2C OVER PARALLEL PORT" and "I2C/SMBUS CONTROLLER DRIVERS FOR PC" in MAINTAINERS for examples of meaningful groups.)

Quoted 2 lines

I agree with Jean here. Is there a V2 planned? With a change like this?

Yes, my plan is to redo the patches for the i2c subsystem.

Signature · 1 line
Bill
#92 lore raw

PATCH 66/493 ide: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/ide/aec62xx.c      | 2 +-
 drivers/ide/cy82c693.c     | 2 +-
 drivers/ide/hpt366.c       | 2 +-
 drivers/ide/icside.c       | 2 +-
 drivers/ide/ide_platform.c | 2 +-
 drivers/ide/it821x.c       | 2 +-
 drivers/ide/pdc202xx_new.c | 2 +-
 drivers/ide/rapide.c       | 2 +-
 drivers/ide/scc_pata.c     | 2 +-
 drivers/ide/siimage.c      | 2 +-
 drivers/ide/sis5513.c      | 2 +-
 drivers/ide/tc86c001.c     | 2 +-
 drivers/ide/via82cxxx.c    | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)
drivers/ide/aec62xx.c +1 -1
index 0145194..2b94583 100644
@@ -307,7 +307,7 @@ static struct pci_driver aec62xx_pci_driver = {
 	.name		= "AEC62xx_IDE",
 	.id_table	= aec62xx_pci_tbl,
 	.probe		= aec62xx_init_one,
-	.remove		= __devexit_p(aec62xx_remove),
+	.remove		= aec62xx_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/cy82c693.c +1 -1
index 3ffb49d..48326ad 100644
@@ -209,7 +209,7 @@ static struct pci_driver cy82c693_pci_driver = {
 	.name		= "Cypress_IDE",
 	.id_table	= cy82c693_pci_tbl,
 	.probe		= cy82c693_init_one,
-	.remove		= __devexit_p(cy82c693_remove),
+	.remove		= cy82c693_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/hpt366.c +1 -1
index 4aec3b8..db6553a 100644
@@ -1525,7 +1525,7 @@ static struct pci_driver hpt366_pci_driver = {
 	.name		= "HPT366_IDE",
 	.id_table	= hpt366_pci_tbl,
 	.probe		= hpt366_init_one,
-	.remove		= __devexit_p(hpt366_remove),
+	.remove		= hpt366_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/icside.c +1 -1
index e640d0a..7a31f49 100644
@@ -666,7 +666,7 @@ static const struct ecard_id icside_ids[] = {
 
 static struct ecard_driver icside_driver = {
 	.probe		= icside_probe,
-	.remove		= __devexit_p(icside_remove),
+	.remove		= icside_remove,
 	.shutdown	= icside_shutdown,
 	.id_table	= icside_ids,
 	.drv = {
drivers/ide/ide_platform.c +1 -1
index 962693b..073d9b9 100644
@@ -130,7 +130,7 @@ static struct platform_driver platform_ide_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = plat_ide_probe,
-	.remove = __devexit_p(plat_ide_remove),
+	.remove = plat_ide_remove,
 };
 
 static int __init platform_ide_init(void)
drivers/ide/it821x.c +1 -1
index c5611db..6b1c72e 100644
@@ -689,7 +689,7 @@ static struct pci_driver it821x_pci_driver = {
 	.name		= "ITE821x IDE",
 	.id_table	= it821x_pci_tbl,
 	.probe		= it821x_init_one,
-	.remove		= __devexit_p(it821x_remove),
+	.remove		= it821x_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/pdc202xx_new.c +1 -1
index 2e5ceb6..98110f8 100644
@@ -539,7 +539,7 @@ static struct pci_driver pdc202new_pci_driver = {
 	.name		= "Promise_IDE",
 	.id_table	= pdc202new_pci_tbl,
 	.probe		= pdc202new_init_one,
-	.remove		= __devexit_p(pdc202new_remove),
+	.remove		= pdc202new_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/rapide.c +1 -1
index 48d976a..200406d 100644
@@ -82,7 +82,7 @@ static struct ecard_id rapide_ids[] = {
 
 static struct ecard_driver rapide_driver = {
 	.probe		= rapide_probe,
-	.remove		= __devexit_p(rapide_remove),
+	.remove		= rapide_remove,
 	.id_table	= rapide_ids,
 	.drv = {
 		.name	= "rapide",
drivers/ide/scc_pata.c +1 -1
index 9701038..f5c66be 100644
@@ -869,7 +869,7 @@ static struct pci_driver scc_pci_driver = {
 	.name = "SCC IDE",
 	.id_table = scc_pci_tbl,
 	.probe = scc_init_one,
-	.remove = __devexit_p(scc_remove),
+	.remove = scc_remove,
 };
 
 static int __init scc_ide_init(void)
drivers/ide/siimage.c +1 -1
index 46f7e30..d8d9c0b 100644
@@ -822,7 +822,7 @@ static struct pci_driver siimage_pci_driver = {
 	.name		= "SiI_IDE",
 	.id_table	= siimage_pci_tbl,
 	.probe		= siimage_init_one,
-	.remove		= __devexit_p(siimage_remove),
+	.remove		= siimage_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/sis5513.c +1 -1
index 09e61b4..2680dd7 100644
@@ -613,7 +613,7 @@ static struct pci_driver sis5513_pci_driver = {
 	.name		= "SIS_IDE",
 	.id_table	= sis5513_pci_tbl,
 	.probe		= sis5513_init_one,
-	.remove		= __devexit_p(sis5513_remove),
+	.remove		= sis5513_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
drivers/ide/tc86c001.c +1 -1
index 1794678..1c74504 100644
@@ -249,7 +249,7 @@ static struct pci_driver tc86c001_pci_driver = {
 	.name		= "TC86C001",
 	.id_table	= tc86c001_pci_tbl,
 	.probe		= tc86c001_init_one,
-	.remove		= __devexit_p(tc86c001_remove),
+	.remove		= tc86c001_remove,
 };
 
 static int __init tc86c001_ide_init(void)
drivers/ide/via82cxxx.c +1 -1
index eb77678..7c98e5d 100644
@@ -514,7 +514,7 @@ static struct pci_driver via_pci_driver = {
 	.name 		= "VIA_IDE",
 	.id_table 	= via_pci_tbl,
 	.probe 		= via_init_one,
-	.remove		= __devexit_p(via_remove),
+	.remove		= via_remove,
 	.suspend	= ide_pci_suspend,
 	.resume		= ide_pci_resume,
 };
Signature · 1 line
1.8.0
#93 lore raw

PATCH 67/493 iio: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/iio/adc/ad7266.c        | 2 +-
 drivers/iio/adc/ad7476.c        | 2 +-
 drivers/iio/adc/ad7791.c        | 2 +-
 drivers/iio/adc/ad7887.c        | 2 +-
 drivers/iio/adc/at91_adc.c      | 2 +-
 drivers/iio/adc/lp8788_adc.c    | 2 +-
 drivers/iio/adc/max1363.c       | 2 +-
 drivers/iio/adc/ti_am335x_adc.c | 2 +-
 drivers/iio/amplifiers/ad8366.c | 2 +-
 drivers/iio/dac/ad5064.c        | 4 ++--
 drivers/iio/dac/ad5360.c        | 2 +-
 drivers/iio/dac/ad5380.c        | 4 ++--
 drivers/iio/dac/ad5421.c        | 2 +-
 drivers/iio/dac/ad5446.c        | 4 ++--
 drivers/iio/dac/ad5449.c        | 2 +-
 drivers/iio/dac/ad5504.c        | 2 +-
 drivers/iio/dac/ad5624r_spi.c   | 2 +-
 drivers/iio/dac/ad5686.c        | 2 +-
 drivers/iio/dac/ad5755.c        | 2 +-
 drivers/iio/dac/ad5764.c        | 2 +-
 drivers/iio/dac/ad5791.c        | 2 +-
 drivers/iio/dac/max517.c        | 2 +-
 drivers/iio/dac/mcp4725.c       | 2 +-
 drivers/iio/frequency/ad9523.c  | 2 +-
 drivers/iio/frequency/adf4350.c | 2 +-
 drivers/iio/light/adjd_s311.c   | 2 +-
 drivers/iio/light/lm3533-als.c  | 2 +-
 drivers/iio/light/vcnl4000.c    | 2 +-
 28 files changed, 31 insertions(+), 31 deletions(-)
drivers/iio/adc/ad7266.c +1 -1
index a6f4fc5..f872f7b 100644
@@ -525,7 +525,7 @@ static struct spi_driver ad7266_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad7266_probe,
-	.remove		= __devexit_p(ad7266_remove),
+	.remove		= ad7266_remove,
 	.id_table	= ad7266_id,
 };
 module_spi_driver(ad7266_driver);
drivers/iio/adc/ad7476.c +1 -1
index 330248b..2e88565 100644
@@ -322,7 +322,7 @@ static struct spi_driver ad7476_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad7476_probe,
-	.remove		= __devexit_p(ad7476_remove),
+	.remove		= ad7476_remove,
 	.id_table	= ad7476_id,
 };
 module_spi_driver(ad7476_driver);
drivers/iio/adc/ad7791.c +1 -1
index e937408..36dd192 100644
@@ -450,7 +450,7 @@ static struct spi_driver ad7791_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad7791_probe,
-	.remove		= __devexit_p(ad7791_remove),
+	.remove		= ad7791_remove,
 	.id_table	= ad7791_spi_ids,
 };
 module_spi_driver(ad7791_driver);
drivers/iio/adc/ad7887.c +1 -1
index 81153fa..70e5e74 100644
@@ -368,7 +368,7 @@ static struct spi_driver ad7887_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad7887_probe,
-	.remove		= __devexit_p(ad7887_remove),
+	.remove		= ad7887_remove,
 	.id_table	= ad7887_id,
 };
 module_spi_driver(ad7887_driver);
drivers/iio/adc/at91_adc.c +1 -1
index 03b8594..34201e6 100644
@@ -702,7 +702,7 @@ MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
 
 static struct platform_driver at91_adc_driver = {
 	.probe = at91_adc_probe,
-	.remove = __devexit_p(at91_adc_remove),
+	.remove = at91_adc_remove,
 	.driver = {
 		   .name = "at91_adc",
 		   .of_match_table = of_match_ptr(at91_adc_dt_ids),
drivers/iio/adc/lp8788_adc.c +1 -1
index a93aaf0..a053211 100644
@@ -250,7 +250,7 @@ static int __devexit lp8788_adc_remove(struct platform_device *pdev)
 
 static struct platform_driver lp8788_adc_driver = {
 	.probe = lp8788_adc_probe,
-	.remove = __devexit_p(lp8788_adc_remove),
+	.remove = lp8788_adc_remove,
 	.driver = {
 		.name = LP8788_DEV_ADC,
 		.owner = THIS_MODULE,
drivers/iio/adc/max1363.c +1 -1
index 1e84b5b..fe7bfa2 100644
@@ -1690,7 +1690,7 @@ static struct i2c_driver max1363_driver = {
 		.name = "max1363",
 	},
 	.probe = max1363_probe,
-	.remove = __devexit_p(max1363_remove),
+	.remove = max1363_remove,
 	.id_table = max1363_id,
 };
 module_i2c_driver(max1363_driver);
drivers/iio/adc/ti_am335x_adc.c +1 -1
index 02a43c8..9d6c14a 100644
@@ -250,7 +250,7 @@ static struct platform_driver tiadc_driver = {
 		.pm	= TIADC_PM_OPS,
 	},
 	.probe	= tiadc_probe,
-	.remove	= __devexit_p(tiadc_remove),
+	.remove	= tiadc_remove,
 };
 
 module_platform_driver(tiadc_driver);
drivers/iio/amplifiers/ad8366.c +1 -1
index d8281cd..e738add 100644
@@ -211,7 +211,7 @@ static struct spi_driver ad8366_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad8366_probe,
-	.remove		= __devexit_p(ad8366_remove),
+	.remove		= ad8366_remove,
 	.id_table	= ad8366_id,
 };
 
drivers/iio/dac/ad5064.c +2 -2
index eb281a2..6c3881b 100644
@@ -563,7 +563,7 @@ static struct spi_driver ad5064_spi_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5064_spi_probe,
-	.remove = __devexit_p(ad5064_spi_remove),
+	.remove = ad5064_spi_remove,
 	.id_table = ad5064_spi_ids,
 };
 
@@ -625,7 +625,7 @@ static struct i2c_driver ad5064_i2c_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5064_i2c_probe,
-	.remove = __devexit_p(ad5064_i2c_remove),
+	.remove = ad5064_i2c_remove,
 	.id_table = ad5064_i2c_ids,
 };
 
drivers/iio/dac/ad5360.c +1 -1
index 8fce84f..e2c0635 100644
@@ -560,7 +560,7 @@ static struct spi_driver ad5360_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5360_probe,
-	.remove = __devexit_p(ad5360_remove),
+	.remove = ad5360_remove,
 	.id_table = ad5360_ids,
 };
 module_spi_driver(ad5360_driver);
drivers/iio/dac/ad5380.c +2 -2
index 14991ac..e93e120 100644
@@ -523,7 +523,7 @@ static struct spi_driver ad5380_spi_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5380_spi_probe,
-	.remove = __devexit_p(ad5380_spi_remove),
+	.remove = ad5380_spi_remove,
 	.id_table = ad5380_spi_ids,
 };
 
@@ -597,7 +597,7 @@ static struct i2c_driver ad5380_i2c_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5380_i2c_probe,
-	.remove = __devexit_p(ad5380_i2c_remove),
+	.remove = ad5380_i2c_remove,
 	.id_table = ad5380_i2c_ids,
 };
 
drivers/iio/dac/ad5421.c +1 -1
index cdbc5bf..cf80a7e 100644
@@ -534,7 +534,7 @@ static struct spi_driver ad5421_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5421_probe,
-	.remove = __devexit_p(ad5421_remove),
+	.remove = ad5421_remove,
 };
 module_spi_driver(ad5421_driver);
 
drivers/iio/dac/ad5446.c +2 -2
index 3310cbb..0b3c962 100644
@@ -480,7 +480,7 @@ static struct spi_driver ad5446_spi_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad5446_spi_probe,
-	.remove		= __devexit_p(ad5446_spi_remove),
+	.remove		= ad5446_spi_remove,
 	.id_table	= ad5446_spi_ids,
 };
 
@@ -568,7 +568,7 @@ static struct i2c_driver ad5446_i2c_driver = {
 		   .owner = THIS_MODULE,
 	},
 	.probe = ad5446_i2c_probe,
-	.remove = __devexit_p(ad5446_i2c_remove),
+	.remove = ad5446_i2c_remove,
 	.id_table = ad5446_i2c_ids,
 };
 
drivers/iio/dac/ad5449.c +1 -1
index 0ee6f8e..01d4749 100644
@@ -366,7 +366,7 @@ static struct spi_driver ad5449_spi_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = ad5449_spi_probe,
-	.remove = __devexit_p(ad5449_spi_remove),
+	.remove = ad5449_spi_remove,
 	.id_table = ad5449_spi_ids,
 };
 module_spi_driver(ad5449_spi_driver);
drivers/iio/dac/ad5504.c +1 -1
index 242bdc7..2c7a2e0 100644
@@ -383,7 +383,7 @@ static struct spi_driver ad5504_driver = {
 		   .owner = THIS_MODULE,
 		   },
 	.probe = ad5504_probe,
-	.remove = __devexit_p(ad5504_remove),
+	.remove = ad5504_remove,
 	.id_table = ad5504_id,
 };
 module_spi_driver(ad5504_driver);
drivers/iio/dac/ad5624r_spi.c +1 -1
index 6a7d6a4..cf75ded 100644
@@ -314,7 +314,7 @@ static struct spi_driver ad5624r_driver = {
 		   .owner = THIS_MODULE,
 		   },
 	.probe = ad5624r_probe,
-	.remove = __devexit_p(ad5624r_remove),
+	.remove = ad5624r_remove,
 	.id_table = ad5624r_id,
 };
 module_spi_driver(ad5624r_driver);
drivers/iio/dac/ad5686.c +1 -1
index bc92ff9..061ddb1 100644
@@ -408,7 +408,7 @@ static struct spi_driver ad5686_driver = {
 		   .owner = THIS_MODULE,
 		   },
 	.probe = ad5686_probe,
-	.remove = __devexit_p(ad5686_remove),
+	.remove = ad5686_remove,
 	.id_table = ad5686_id,
 };
 module_spi_driver(ad5686_driver);
drivers/iio/dac/ad5755.c +1 -1
index 5db3506..f9e112e 100644
@@ -640,7 +640,7 @@ static struct spi_driver ad5755_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = ad5755_probe,
-	.remove = __devexit_p(ad5755_remove),
+	.remove = ad5755_remove,
 	.id_table = ad5755_id,
 };
 module_spi_driver(ad5755_driver);
drivers/iio/dac/ad5764.c +1 -1
index ffce304..587e7b1 100644
@@ -372,7 +372,7 @@ static struct spi_driver ad5764_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = ad5764_probe,
-	.remove = __devexit_p(ad5764_remove),
+	.remove = ad5764_remove,
 	.id_table = ad5764_ids,
 };
 module_spi_driver(ad5764_driver);
drivers/iio/dac/ad5791.c +1 -1
index 2bd2e37..f40aecd 100644
@@ -475,7 +475,7 @@ static struct spi_driver ad5791_driver = {
 		   .owner = THIS_MODULE,
 		   },
 	.probe = ad5791_probe,
-	.remove = __devexit_p(ad5791_remove),
+	.remove = ad5791_remove,
 	.id_table = ad5791_id,
 };
 module_spi_driver(ad5791_driver);
drivers/iio/dac/max517.c +1 -1
index c3d748c..cf281ff 100644
@@ -232,7 +232,7 @@ static struct i2c_driver max517_driver = {
 		.pm		= MAX517_PM_OPS,
 	},
 	.probe		= max517_probe,
-	.remove		=  __devexit_p(max517_remove),
+	.remove		=  max517_remove,
 	.id_table	= max517_id,
 };
 module_i2c_driver(max517_driver);
drivers/iio/dac/mcp4725.c +1 -1
index e0e168b..aff873f 100644
@@ -217,7 +217,7 @@ static struct i2c_driver mcp4725_driver = {
 		.pm	= MCP4725_PM_OPS,
 	},
 	.probe		= mcp4725_probe,
-	.remove		= __devexit_p(mcp4725_remove),
+	.remove		= mcp4725_remove,
 	.id_table	= mcp4725_id,
 };
 module_i2c_driver(mcp4725_driver);
drivers/iio/frequency/ad9523.c +1 -1
index b737c64..73e2cd8 100644
@@ -1049,7 +1049,7 @@ static struct spi_driver ad9523_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ad9523_probe,
-	.remove		= __devexit_p(ad9523_remove),
+	.remove		= ad9523_remove,
 	.id_table	= ad9523_id,
 };
 module_spi_driver(ad9523_driver);
drivers/iio/frequency/adf4350.c +1 -1
index e35bb8f..4c03d63 100644
@@ -476,7 +476,7 @@ static struct spi_driver adf4350_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= adf4350_probe,
-	.remove		= __devexit_p(adf4350_remove),
+	.remove		= adf4350_remove,
 	.id_table	= adf4350_id,
 };
 module_spi_driver(adf4350_driver);
drivers/iio/light/adjd_s311.c +1 -1
index 36d210a..82a6d71 100644
@@ -354,7 +354,7 @@ static struct i2c_driver adjd_s311_driver = {
 		.name	= ADJD_S311_DRV_NAME,
 	},
 	.probe		= adjd_s311_probe,
-	.remove		= __devexit_p(adjd_s311_remove),
+	.remove		= adjd_s311_remove,
 	.id_table	= adjd_s311_id,
 };
 module_i2c_driver(adjd_s311_driver);
drivers/iio/light/lm3533-als.c +1 -1
index e45712a9..c56f537 100644
@@ -922,7 +922,7 @@ static struct platform_driver lm3533_als_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= lm3533_als_probe,
-	.remove		= __devexit_p(lm3533_als_remove),
+	.remove		= lm3533_als_remove,
 };
 module_platform_driver(lm3533_als_driver);
 
drivers/iio/light/vcnl4000.c +1 -1
index e49cb97..2556788 100644
@@ -206,7 +206,7 @@ static struct i2c_driver vcnl4000_driver = {
 		.owner  = THIS_MODULE,
 	},
 	.probe  = vcnl4000_probe,
-	.remove = __devexit_p(vcnl4000_remove),
+	.remove = vcnl4000_remove,
 	.id_table = vcnl4000_id,
 };
 
Signature · 1 line
1.8.0
#94 lore raw

PATCH 70/493 isdn: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/isdn/hardware/avm/b1pci.c           | 2 +-
 drivers/isdn/hardware/eicon/divasmain.c     | 2 +-
 drivers/isdn/hardware/mISDN/avmfritz.c      | 2 +-
 drivers/isdn/hardware/mISDN/hfcmulti.c      | 2 +-
 drivers/isdn/hardware/mISDN/hfcpci.c        | 2 +-
 drivers/isdn/hardware/mISDN/mISDNinfineon.c | 2 +-
 drivers/isdn/hardware/mISDN/netjet.c        | 2 +-
 drivers/isdn/hardware/mISDN/speedfax.c      | 2 +-
 drivers/isdn/hardware/mISDN/w6692.c         | 2 +-
 drivers/isdn/hisax/avma1_cs.c               | 2 +-
 drivers/isdn/hisax/elsa_cs.c                | 2 +-
 drivers/isdn/hisax/hfc4s8s_l1.c             | 2 +-
 drivers/isdn/hisax/hisax_fcpcipnp.c         | 4 ++--
 drivers/isdn/hisax/sedlbauer_cs.c           | 2 +-
 drivers/isdn/hisax/teles_cs.c               | 2 +-
 drivers/isdn/hysdn/hysdn_init.c             | 2 +-
 16 files changed, 17 insertions(+), 17 deletions(-)
drivers/isdn/hardware/avm/b1pci.c +1 -1
index b305e6b..cc1b671 100644
@@ -362,7 +362,7 @@ static struct pci_driver b1pci_pci_driver = {
 	.name		= "b1pci",
 	.id_table	= b1pci_pci_tbl,
 	.probe		= b1pci_pci_probe,
-	.remove		= __devexit_p(b1pci_pci_remove),
+	.remove		= b1pci_pci_remove,
 };
 
 static struct capi_driver capi_driver_b1pci = {
drivers/isdn/hardware/eicon/divasmain.c +1 -1
index ca6d276..3dfe2bb 100644
@@ -155,7 +155,7 @@ static void __devexit divas_remove_one(struct pci_dev *pdev);
 static struct pci_driver diva_pci_driver = {
 	.name     = "divas",
 	.probe    = divas_init_one,
-	.remove   = __devexit_p(divas_remove_one),
+	.remove   = divas_remove_one,
 	.id_table = divas_pci_tbl,
 };
 
drivers/isdn/hardware/mISDN/avmfritz.c +1 -1
index dceaec8..922f29f 100644
@@ -1154,7 +1154,7 @@ MODULE_DEVICE_TABLE(pci, fcpci_ids);
 static struct pci_driver fcpci_driver = {
 	.name = "fcpci",
 	.probe = fritzpci_probe,
-	.remove = __devexit_p(fritz_remove_pci),
+	.remove = fritz_remove_pci,
 	.id_table = fcpci_ids,
 };
 
drivers/isdn/hardware/mISDN/hfcmulti.c +1 -1
index f027942..ad6cf8e 100644
@@ -5472,7 +5472,7 @@ hfcmulti_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 static struct pci_driver hfcmultipci_driver = {
 	.name		= "hfc_multi",
 	.probe		= hfcmulti_probe,
-	.remove		= __devexit_p(hfc_remove_pci),
+	.remove		= hfc_remove_pci,
 	.id_table	= hfmultipci_ids,
 };
 
drivers/isdn/hardware/mISDN/hfcpci.c +1 -1
index 6e99d73..580e629 100644
@@ -2263,7 +2263,7 @@ hfc_remove_pci(struct pci_dev *pdev)
 static struct pci_driver hfc_driver = {
 	.name = "hfcpci",
 	.probe = hfc_probe,
-	.remove = __devexit_p(hfc_remove_pci),
+	.remove = hfc_remove_pci,
 	.id_table = hfc_ids,
 };
 
drivers/isdn/hardware/mISDN/mISDNinfineon.c +1 -1
index 631eb3f..a43fddf 100644
@@ -1149,7 +1149,7 @@ inf_remove(struct pci_dev *pdev)
 static struct pci_driver infineon_driver = {
 	.name = "ISDN Infineon pci",
 	.probe = inf_probe,
-	.remove = __devexit_p(inf_remove),
+	.remove = inf_remove,
 	.id_table = infineon_ids,
 };
 
drivers/isdn/hardware/mISDN/netjet.c +1 -1
index 9bcade5..2cfed9f 100644
@@ -1147,7 +1147,7 @@ MODULE_DEVICE_TABLE(pci, nj_pci_ids);
 static struct pci_driver nj_driver = {
 	.name = "netjet",
 	.probe = nj_probe,
-	.remove = __devexit_p(nj_remove),
+	.remove = nj_remove,
 	.id_table = nj_pci_ids,
 };
 
drivers/isdn/hardware/mISDN/speedfax.c +1 -1
index 93f344d..92c6059 100644
@@ -507,7 +507,7 @@ MODULE_DEVICE_TABLE(pci, sfaxpci_ids);
 static struct pci_driver sfaxpci_driver = {
 	.name = "speedfax+ pci",
 	.probe = sfaxpci_probe,
-	.remove = __devexit_p(sfax_remove_pci),
+	.remove = sfax_remove_pci,
 	.id_table = sfaxpci_ids,
 };
 
drivers/isdn/hardware/mISDN/w6692.c +1 -1
index 335fe64..34be200 100644
@@ -1414,7 +1414,7 @@ MODULE_DEVICE_TABLE(pci, w6692_ids);
 static struct pci_driver w6692_driver = {
 	.name =  "w6692",
 	.probe = w6692_probe,
-	.remove = __devexit_p(w6692_remove_pci),
+	.remove = w6692_remove_pci,
 	.id_table = w6692_ids,
 };
 
drivers/isdn/hisax/avma1_cs.c +1 -1
index c644557..7f5d8b6 100644
@@ -156,7 +156,7 @@ static struct pcmcia_driver avma1cs_driver = {
 	.owner		= THIS_MODULE,
 	.name		= "avma1_cs",
 	.probe		= avma1cs_probe,
-	.remove		= __devexit_p(avma1cs_detach),
+	.remove		= avma1cs_detach,
 	.id_table	= avma1cs_ids,
 };
 
drivers/isdn/hisax/elsa_cs.c +1 -1
index a8c4d3f..231ec71 100644
@@ -210,7 +210,7 @@ static struct pcmcia_driver elsa_cs_driver = {
 	.owner		= THIS_MODULE,
 	.name		= "elsa_cs",
 	.probe		= elsa_cs_probe,
-	.remove		= __devexit_p(elsa_cs_detach),
+	.remove		= elsa_cs_detach,
 	.id_table	= elsa_ids,
 	.suspend	= elsa_suspend,
 	.resume		= elsa_resume,
drivers/isdn/hisax/hfc4s8s_l1.c +1 -1
index f794850..e85b612 100644
@@ -1662,7 +1662,7 @@ hfc4s8s_remove(struct pci_dev *pdev)
 static struct pci_driver hfc4s8s_driver = {
 	.name	= "hfc4s8s_l1",
 	.probe	= hfc4s8s_probe,
-	.remove	= __devexit_p(hfc4s8s_remove),
+	.remove	= hfc4s8s_remove,
 	.id_table	= hfc4s8s_ids,
 };
 
drivers/isdn/hisax/hisax_fcpcipnp.c +2 -2
index e4f47fe..3d063d1 100644
@@ -973,7 +973,7 @@ static void __devexit fcpnp_remove(struct pnp_dev *pdev)
 static struct pnp_driver fcpnp_driver = {
 	.name		= "fcpnp",
 	.probe		= fcpnp_probe,
-	.remove		= __devexit_p(fcpnp_remove),
+	.remove		= fcpnp_remove,
 	.id_table	= fcpnp_ids,
 };
 #endif
@@ -990,7 +990,7 @@ static void __devexit fcpci_remove(struct pci_dev *pdev)
 static struct pci_driver fcpci_driver = {
 	.name		= "fcpci",
 	.probe		= fcpci_probe,
-	.remove		= __devexit_p(fcpci_remove),
+	.remove		= fcpci_remove,
 	.id_table	= fcpci_ids,
 };
 
drivers/isdn/hisax/sedlbauer_cs.c +1 -1
index f0dfc0c..42abb24 100644
@@ -201,7 +201,7 @@ static struct pcmcia_driver sedlbauer_driver = {
 	.owner		= THIS_MODULE,
 	.name		= "sedlbauer_cs",
 	.probe		= sedlbauer_probe,
-	.remove		= __devexit_p(sedlbauer_detach),
+	.remove		= sedlbauer_detach,
 	.id_table	= sedlbauer_ids,
 	.suspend	= sedlbauer_suspend,
 	.resume		= sedlbauer_resume,
drivers/isdn/hisax/teles_cs.c +1 -1
index 4deac45..a36fa04 100644
@@ -192,7 +192,7 @@ static struct pcmcia_driver teles_cs_driver = {
 	.owner		= THIS_MODULE,
 	.name		= "teles_cs",
 	.probe		= teles_probe,
-	.remove		= __devexit_p(teles_detach),
+	.remove		= teles_detach,
 	.id_table       = teles_ids,
 	.suspend	= teles_suspend,
 	.resume		= teles_resume,
drivers/isdn/hysdn/hysdn_init.c +1 -1
index b61bbb4..c103c28 100644
@@ -147,7 +147,7 @@ static struct pci_driver hysdn_pci_driver = {
 	.name		= "hysdn",
 	.id_table	= hysdn_pci_tbl,
 	.probe		= hysdn_pci_init_one,
-	.remove		= __devexit_p(hysdn_pci_remove_one),
+	.remove		= hysdn_pci_remove_one,
 };
 
 static int hysdn_have_procfs;
Signature · 1 line
1.8.0
#95 lore raw

PATCH 72/493 drivers/macintosh: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/macintosh/rack-meter.c     | 2 +-
 drivers/macintosh/windfarm_pm112.c | 2 +-
 drivers/macintosh/windfarm_pm121.c | 2 +-
 drivers/macintosh/windfarm_pm81.c  | 2 +-
 drivers/macintosh/windfarm_pm91.c  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/macintosh/rack-meter.c +1 -1
index 6dc26b6..18cd177 100644
@@ -588,7 +588,7 @@ static struct macio_driver rackmeter_driver = {
 		.of_match_table = rackmeter_match,
 	},
 	.probe = rackmeter_probe,
-	.remove = __devexit_p(rackmeter_remove),
+	.remove = rackmeter_remove,
 	.shutdown = rackmeter_shutdown,
 };
 
drivers/macintosh/windfarm_pm112.c +1 -1
index e0ee807..54ac434 100644
@@ -665,7 +665,7 @@ static int __devexit wf_pm112_remove(struct platform_device *dev)
 
 static struct platform_driver wf_pm112_driver = {
 	.probe = wf_pm112_probe,
-	.remove = __devexit_p(wf_pm112_remove),
+	.remove = wf_pm112_remove,
 	.driver = {
 		.name = "windfarm",
 		.owner	= THIS_MODULE,
drivers/macintosh/windfarm_pm121.c +1 -1
index 04067e0..ec0ec67 100644
@@ -995,7 +995,7 @@ static int __devexit pm121_remove(struct platform_device *ddev)
 
 static struct platform_driver pm121_driver = {
 	.probe = pm121_probe,
-	.remove = __devexit_p(pm121_remove),
+	.remove = pm121_remove,
 	.driver = {
 		.name = "windfarm",
 		.bus = &platform_bus_type,
drivers/macintosh/windfarm_pm81.c +1 -1
index 990c876..92ba8f5 100644
@@ -763,7 +763,7 @@ static int __devexit wf_smu_remove(struct platform_device *ddev)
 
 static struct platform_driver wf_smu_driver = {
         .probe = wf_smu_probe,
-        .remove = __devexit_p(wf_smu_remove),
+	.remove = wf_smu_remove,
 	.driver = {
 		.name = "windfarm",
 		.owner	= THIS_MODULE,
drivers/macintosh/windfarm_pm91.c +1 -1
index 7653603..5be25b9 100644
@@ -692,7 +692,7 @@ static int __devexit wf_smu_remove(struct platform_device *ddev)
 
 static struct platform_driver wf_smu_driver = {
         .probe = wf_smu_probe,
-        .remove = __devexit_p(wf_smu_remove),
+	.remove = wf_smu_remove,
 	.driver = {
 		.name = "windfarm",
 		.owner	= THIS_MODULE,
Signature · 1 line
1.8.0
#96 lore raw

PATCH 73/493 drivers/message/fusion: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/message/fusion/mptfc.c  | 2 +-
 drivers/message/fusion/mptsas.c | 2 +-
 drivers/message/fusion/mptspi.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/message/fusion/mptfc.c +1 -1
index d784c36..343e9e8 100644
@@ -1360,7 +1360,7 @@ static struct pci_driver mptfc_driver = {
 	.name		= "mptfc",
 	.id_table	= mptfc_pci_table,
 	.probe		= mptfc_probe,
-	.remove		= __devexit_p(mptfc_remove),
+	.remove		= mptfc_remove,
 	.shutdown	= mptscsih_shutdown,
 #ifdef CONFIG_PM
 	.suspend	= mptscsih_suspend,
drivers/message/fusion/mptsas.c +1 -1
index 551262e..ec75697 100644
@@ -5387,7 +5387,7 @@ static struct pci_driver mptsas_driver = {
 	.name		= "mptsas",
 	.id_table	= mptsas_pci_table,
 	.probe		= mptsas_probe,
-	.remove		= __devexit_p(mptsas_remove),
+	.remove		= mptsas_remove,
 	.shutdown	= mptsas_shutdown,
 #ifdef CONFIG_PM
 	.suspend	= mptscsih_suspend,
drivers/message/fusion/mptspi.c +1 -1
index 8f61ba6..c3aabde 100644
@@ -1550,7 +1550,7 @@ static struct pci_driver mptspi_driver = {
 	.name		= "mptspi",
 	.id_table	= mptspi_pci_table,
 	.probe		= mptspi_probe,
-	.remove		= __devexit_p(mptscsih_remove),
+	.remove		= mptscsih_remove,
 	.shutdown	= mptscsih_shutdown,
 #ifdef CONFIG_PM
 	.suspend	= mptscsih_suspend,
Signature · 1 line
1.8.0
#97 lore raw

PATCH 75/493 mfd: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Srinidhi Kasagar <[email protected]>
Cc Peter Tyser <[email protected]>
Cc David Brown <[email protected]>
Cc Daniel Walker <[email protected]>
Cc Bryan Huntsman <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc device-drivers-devel at blackfin.uclinux.org
Cc patches at opensource.wolfsonmicro.com
Cc linux-arm-msm at vger.kernel.org
---
 drivers/mfd/88pm800.c             | 2 +-
 drivers/mfd/88pm805.c             | 2 +-
 drivers/mfd/88pm860x-core.c       | 2 +-
 drivers/mfd/ab3100-core.c         | 2 +-
 drivers/mfd/ab8500-core.c         | 2 +-
 drivers/mfd/ab8500-debugfs.c      | 2 +-
 drivers/mfd/ab8500-gpadc.c        | 2 +-
 drivers/mfd/ab8500-sysctrl.c      | 2 +-
 drivers/mfd/adp5520.c             | 2 +-
 drivers/mfd/arizona-i2c.c         | 2 +-
 drivers/mfd/arizona-spi.c         | 2 +-
 drivers/mfd/asic3.c               | 2 +-
 drivers/mfd/cs5535-mfd.c          | 2 +-
 drivers/mfd/da903x.c              | 2 +-
 drivers/mfd/da9052-i2c.c          | 2 +-
 drivers/mfd/da9052-spi.c          | 2 +-
 drivers/mfd/da9055-i2c.c          | 2 +-
 drivers/mfd/davinci_voicecodec.c  | 2 +-
 drivers/mfd/ezx-pcap.c            | 2 +-
 drivers/mfd/intel_msic.c          | 2 +-
 drivers/mfd/janz-cmodio.c         | 2 +-
 drivers/mfd/jz4740-adc.c          | 2 +-
 drivers/mfd/lm3533-core.c         | 2 +-
 drivers/mfd/lp8788.c              | 2 +-
 drivers/mfd/lpc_ich.c             | 2 +-
 drivers/mfd/lpc_sch.c             | 2 +-
 drivers/mfd/max8925-i2c.c         | 2 +-
 drivers/mfd/mc13xxx-i2c.c         | 2 +-
 drivers/mfd/mc13xxx-spi.c         | 2 +-
 drivers/mfd/omap-usb-tll.c        | 2 +-
 drivers/mfd/pcf50633-adc.c        | 2 +-
 drivers/mfd/pcf50633-core.c       | 2 +-
 drivers/mfd/pm8921-core.c         | 2 +-
 drivers/mfd/rc5t583.c             | 2 +-
 drivers/mfd/rdc321x-southbridge.c | 2 +-
 drivers/mfd/rtsx_pcr.c            | 2 +-
 drivers/mfd/sm501.c               | 2 +-
 drivers/mfd/stmpe-i2c.c           | 2 +-
 drivers/mfd/stmpe-spi.c           | 2 +-
 drivers/mfd/syscon.c              | 2 +-
 drivers/mfd/tc3589x.c             | 2 +-
 drivers/mfd/tc6387xb.c            | 2 +-
 drivers/mfd/tc6393xb.c            | 2 +-
 drivers/mfd/ti-ssp.c              | 2 +-
 drivers/mfd/ti_am335x_tscadc.c    | 2 +-
 drivers/mfd/timberdale.c          | 2 +-
 drivers/mfd/tps6105x.c            | 2 +-
 drivers/mfd/tps65090.c            | 2 +-
 drivers/mfd/tps65217.c            | 2 +-
 drivers/mfd/tps6586x.c            | 2 +-
 drivers/mfd/tps65910.c            | 2 +-
 drivers/mfd/tps65911-comparator.c | 2 +-
 drivers/mfd/tps65912-spi.c        | 2 +-
 drivers/mfd/twl4030-audio.c       | 2 +-
 drivers/mfd/twl6040.c             | 2 +-
 drivers/mfd/vx855.c               | 2 +-
 drivers/mfd/wl1273-core.c         | 2 +-
 drivers/mfd/wm831x-spi.c          | 2 +-
 drivers/mfd/wm8994-core.c         | 2 +-
 59 files changed, 59 insertions(+), 59 deletions(-)
drivers/mfd/88pm800.c +1 -1
index ce229ea..321a50c 100644
@@ -576,7 +576,7 @@ static struct i2c_driver pm800_driver = {
 		.pm = &pm80x_pm_ops,
 		},
 	.probe = pm800_probe,
-	.remove = __devexit_p(pm800_remove),
+	.remove = pm800_remove,
 	.id_table = pm80x_id_table,
 };
 
drivers/mfd/88pm805.c +1 -1
index c20a311..41e0488 100644
@@ -281,7 +281,7 @@ static struct i2c_driver pm805_driver = {
 		.pm = &pm80x_pm_ops,
 		},
 	.probe = pm805_probe,
-	.remove = __devexit_p(pm805_remove),
+	.remove = pm805_remove,
 	.id_table = pm80x_id_table,
 };
 
drivers/mfd/88pm860x-core.c +1 -1
index 8fa86ed..c2d5595 100644
@@ -1258,7 +1258,7 @@ static struct i2c_driver pm860x_driver = {
 		.of_match_table	= of_match_ptr(pm860x_dt_ids),
 	},
 	.probe		= pm860x_probe,
-	.remove		= __devexit_p(pm860x_remove),
+	.remove		= pm860x_remove,
 	.id_table	= pm860x_id_table,
 };
 
drivers/mfd/ab3100-core.c +1 -1
index 2b3dde5..8355d4e 100644
@@ -986,7 +986,7 @@ static struct i2c_driver ab3100_driver = {
 	},
 	.id_table	= ab3100_id,
 	.probe		= ab3100_probe,
-	.remove		= __devexit_p(ab3100_remove),
+	.remove		= ab3100_remove,
 };
 
 static int __init ab3100_i2c_init(void)
drivers/mfd/ab8500-core.c +1 -1
index 148d2ee..dff2e1d 100644
@@ -1451,7 +1451,7 @@ static struct platform_driver ab8500_core_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe	= ab8500_probe,
-	.remove	= __devexit_p(ab8500_remove),
+	.remove	= ab8500_remove,
 	.id_table = ab8500_id,
 };
 
drivers/mfd/ab8500-debugfs.c +1 -1
index c4cb806..efdbc7b 100644
@@ -614,7 +614,7 @@ static struct platform_driver ab8500_debug_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe  = ab8500_debug_probe,
-	.remove = __devexit_p(ab8500_debug_remove)
+	.remove = ab8500_debug_remove
 };
 
 static int __init ab8500_debug_init(void)
drivers/mfd/ab8500-gpadc.c +1 -1
index 29d72a2..97daf61 100644
@@ -651,7 +651,7 @@ static int __devexit ab8500_gpadc_remove(struct platform_device *pdev)
 
 static struct platform_driver ab8500_gpadc_driver = {
 	.probe = ab8500_gpadc_probe,
-	.remove = __devexit_p(ab8500_gpadc_remove),
+	.remove = ab8500_gpadc_remove,
 	.driver = {
 		.name = "ab8500-gpadc",
 		.owner = THIS_MODULE,
drivers/mfd/ab8500-sysctrl.c +1 -1
index c28d4eb..d8cc157 100644
@@ -67,7 +67,7 @@ static struct platform_driver ab8500_sysctrl_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = ab8500_sysctrl_probe,
-	.remove = __devexit_p(ab8500_sysctrl_remove),
+	.remove = ab8500_sysctrl_remove,
 };
 
 static int __init ab8500_sysctrl_init(void)
drivers/mfd/adp5520.c +1 -1
index ea8b947..f664a52 100644
@@ -356,7 +356,7 @@ static struct i2c_driver adp5520_driver = {
 		.pm	= &adp5520_pm,
 	},
 	.probe		= adp5520_probe,
-	.remove		= __devexit_p(adp5520_remove),
+	.remove		= adp5520_remove,
 	.id_table 	= adp5520_id,
 };
 
drivers/mfd/arizona-i2c.c +1 -1
index 570c4b4..43d1647 100644
@@ -86,7 +86,7 @@ static struct i2c_driver arizona_i2c_driver = {
 		.pm	= &arizona_pm_ops,
 	},
 	.probe		= arizona_i2c_probe,
-	.remove		= __devexit_p(arizona_i2c_remove),
+	.remove		= arizona_i2c_remove,
 	.id_table	= arizona_i2c_id,
 };
 
drivers/mfd/arizona-spi.c +1 -1
index df2e5a8..cc79b82 100644
@@ -86,7 +86,7 @@ static struct spi_driver arizona_spi_driver = {
 		.pm	= &arizona_pm_ops,
 	},
 	.probe		= arizona_spi_probe,
-	.remove		= __devexit_p(arizona_spi_remove),
+	.remove		= arizona_spi_remove,
 	.id_table	= arizona_spi_ids,
 };
 
drivers/mfd/asic3.c +1 -1
index 62f0883..b0720d7 100644
@@ -1071,7 +1071,7 @@ static struct platform_driver asic3_device_driver = {
 	.driver		= {
 		.name	= "asic3",
 	},
-	.remove		= __devexit_p(asic3_remove),
+	.remove		= asic3_remove,
 	.shutdown	= asic3_shutdown,
 };
 
drivers/mfd/cs5535-mfd.c +1 -1
index 2b28213..5d3878a 100644
@@ -183,7 +183,7 @@ static struct pci_driver cs5535_mfd_driver = {
 	.name = DRV_NAME,
 	.id_table = cs5535_mfd_pci_tbl,
 	.probe = cs5535_mfd_probe,
-	.remove = __devexit_p(cs5535_mfd_remove),
+	.remove = cs5535_mfd_remove,
 };
 
 module_pci_driver(cs5535_mfd_driver);
drivers/mfd/da903x.c +1 -1
index 1924b85..c715475 100644
@@ -560,7 +560,7 @@ static struct i2c_driver da903x_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= da903x_probe,
-	.remove		= __devexit_p(da903x_remove),
+	.remove		= da903x_remove,
 	.id_table	= da903x_id_table,
 };
 
drivers/mfd/da9052-i2c.c +1 -1
index 352c58b..8af0f0c 100644
@@ -131,7 +131,7 @@ static int __devexit da9052_i2c_remove(struct i2c_client *client)
 
 static struct i2c_driver da9052_i2c_driver = {
 	.probe = da9052_i2c_probe,
-	.remove = __devexit_p(da9052_i2c_remove),
+	.remove = da9052_i2c_remove,
 	.id_table = da9052_i2c_id,
 	.driver = {
 		.name = "da9052",
drivers/mfd/da9052-spi.c +1 -1
index dbeadc5..cbcc9be 100644
@@ -76,7 +76,7 @@ static struct spi_device_id da9052_spi_id[] = {
 
 static struct spi_driver da9052_spi_driver = {
 	.probe = da9052_spi_probe,
-	.remove = __devexit_p(da9052_spi_remove),
+	.remove = da9052_spi_remove,
 	.id_table = da9052_spi_id,
 	.driver = {
 		.name = "da9052",
drivers/mfd/da9055-i2c.c +1 -1
index 88f6dca..dbaca7b 100644
@@ -60,7 +60,7 @@ static struct i2c_device_id da9055_i2c_id[] = {
 
 static struct i2c_driver da9055_i2c_driver = {
 	.probe = da9055_i2c_probe,
-	.remove = __devexit_p(da9055_i2c_remove),
+	.remove = da9055_i2c_remove,
 	.id_table = da9055_i2c_id,
 	.driver = {
 		.name = "da9055",
drivers/mfd/davinci_voicecodec.c +1 -1
index 45e83a6..b2b0397 100644
@@ -174,7 +174,7 @@ static struct platform_driver davinci_vc_driver = {
 		.name = "davinci_voicecodec",
 		.owner = THIS_MODULE,
 	},
-	.remove	= __devexit_p(davinci_vc_remove),
+	.remove	= davinci_vc_remove,
 };
 
 static int __init davinci_vc_init(void)
drivers/mfd/ezx-pcap.c +1 -1
index db662e2..d7e4de04 100644
@@ -525,7 +525,7 @@ ret:
 
 static struct spi_driver ezxpcap_driver = {
 	.probe	= ezx_pcap_probe,
-	.remove = __devexit_p(ezx_pcap_remove),
+	.remove = ezx_pcap_remove,
 	.driver = {
 		.name	= "ezx-pcap",
 		.owner	= THIS_MODULE,
drivers/mfd/intel_msic.c +1 -1
index 266bdc5..c5f478e 100644
@@ -457,7 +457,7 @@ static int __devexit intel_msic_remove(struct platform_device *pdev)
 
 static struct platform_driver intel_msic_driver = {
 	.probe		= intel_msic_probe,
-	.remove		= __devexit_p(intel_msic_remove),
+	.remove		= intel_msic_remove,
 	.driver		= {
 		.name	= "intel_msic",
 		.owner	= THIS_MODULE,
drivers/mfd/janz-cmodio.c +1 -1
index 965c480..1a36277 100644
@@ -280,7 +280,7 @@ static struct pci_driver cmodio_pci_driver = {
 	.name     = DRV_NAME,
 	.id_table = cmodio_pci_ids,
 	.probe    = cmodio_pci_probe,
-	.remove   = __devexit_p(cmodio_pci_remove),
+	.remove   = cmodio_pci_remove,
 };
 
 module_pci_driver(cmodio_pci_driver);
drivers/mfd/jz4740-adc.c +1 -1
index c6b6d7d..9aed2a6 100644
@@ -332,7 +332,7 @@ static int __devexit jz4740_adc_remove(struct platform_device *pdev)
 
 static struct platform_driver jz4740_adc_driver = {
 	.probe	= jz4740_adc_probe,
-	.remove = __devexit_p(jz4740_adc_remove),
+	.remove = jz4740_adc_remove,
 	.driver = {
 		.name = "jz4740-adc",
 		.owner = THIS_MODULE,
drivers/mfd/lm3533-core.c +1 -1
index 24212f4..e7aa2a5 100644
@@ -648,7 +648,7 @@ static struct i2c_driver lm3533_i2c_driver = {
 	},
 	.id_table	= lm3533_i2c_ids,
 	.probe		= lm3533_i2c_probe,
-	.remove		= __devexit_p(lm3533_i2c_remove),
+	.remove		= lm3533_i2c_remove,
 };
 
 static int __init lm3533_i2c_init(void)
drivers/mfd/lp8788.c +1 -1
index 3e94a69..e1d7c9f 100644
@@ -224,7 +224,7 @@ static struct i2c_driver lp8788_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = lp8788_probe,
-	.remove = __devexit_p(lp8788_remove),
+	.remove = lp8788_remove,
 	.id_table = lp8788_ids,
 };
 
drivers/mfd/lpc_ich.c +1 -1
index a22544f..a43c73a 100644
@@ -888,7 +888,7 @@ static struct pci_driver lpc_ich_driver = {
 	.name		= "lpc_ich",
 	.id_table	= lpc_ich_ids,
 	.probe		= lpc_ich_probe,
-	.remove		= __devexit_p(lpc_ich_remove),
+	.remove		= lpc_ich_remove,
 };
 
 static int __init lpc_ich_init(void)
drivers/mfd/lpc_sch.c +1 -1
index f6b9c5c..27477f4 100644
@@ -173,7 +173,7 @@ static struct pci_driver lpc_sch_driver = {
 	.name		= "lpc_sch",
 	.id_table	= lpc_sch_ids,
 	.probe		= lpc_sch_probe,
-	.remove		= __devexit_p(lpc_sch_remove),
+	.remove		= lpc_sch_remove,
 };
 
 module_pci_driver(lpc_sch_driver);
drivers/mfd/max8925-i2c.c +1 -1
index d9e4b36..375e047 100644
@@ -210,7 +210,7 @@ static struct i2c_driver max8925_driver = {
 		.pm     = &max8925_pm_ops,
 	},
 	.probe		= max8925_probe,
-	.remove		= __devexit_p(max8925_remove),
+	.remove		= max8925_remove,
 	.id_table	= max8925_id_table,
 };
 
drivers/mfd/mc13xxx-i2c.c +1 -1
index bfc1284..71e0386 100644
@@ -112,7 +112,7 @@ static struct i2c_driver mc13xxx_i2c_driver = {
 		.of_match_table = mc13xxx_dt_ids,
 	},
 	.probe = mc13xxx_i2c_probe,
-	.remove = __devexit_p(mc13xxx_i2c_remove),
+	.remove = mc13xxx_i2c_remove,
 };
 
 static int __init mc13xxx_i2c_init(void)
drivers/mfd/mc13xxx-spi.c +1 -1
index afca4f9..bfe72be 100644
@@ -179,7 +179,7 @@ static struct spi_driver mc13xxx_spi_driver = {
 		.of_match_table = mc13xxx_dt_ids,
 	},
 	.probe = mc13xxx_spi_probe,
-	.remove = __devexit_p(mc13xxx_spi_remove),
+	.remove = mc13xxx_spi_remove,
 };
 
 static int __init mc13xxx_init(void)
drivers/mfd/omap-usb-tll.c +1 -1
index 0db0dfa..d8f713b 100644
@@ -424,7 +424,7 @@ static struct platform_driver usbtll_omap_driver = {
 		.pm		= &usbtllomap_dev_pm_ops,
 	},
 	.probe		= usbtll_omap_probe,
-	.remove		= __devexit_p(usbtll_omap_remove),
+	.remove		= usbtll_omap_remove,
 };
 
 int omap_tll_enable(void)
drivers/mfd/pcf50633-adc.c +1 -1
index 3927c17..a285b51 100644
@@ -246,7 +246,7 @@ static struct platform_driver pcf50633_adc_driver = {
 		.name = "pcf50633-adc",
 	},
 	.probe = pcf50633_adc_probe,
-	.remove = __devexit_p(pcf50633_adc_remove),
+	.remove = pcf50633_adc_remove,
 };
 
 module_platform_driver(pcf50633_adc_driver);
drivers/mfd/pcf50633-core.c +1 -1
index 45ce1fb..ad438e8 100644
@@ -308,7 +308,7 @@ static struct i2c_driver pcf50633_driver = {
 	},
 	.id_table = pcf50633_id_table,
 	.probe = pcf50633_probe,
-	.remove = __devexit_p(pcf50633_remove),
+	.remove = pcf50633_remove,
 };
 
 static int __init pcf50633_init(void)
drivers/mfd/pm8921-core.c +1 -1
index e873b157..24d57bc 100644
@@ -187,7 +187,7 @@ static int __devexit pm8921_remove(struct platform_device *pdev)
 
 static struct platform_driver pm8921_driver = {
 	.probe		= pm8921_probe,
-	.remove		= __devexit_p(pm8921_remove),
+	.remove		= pm8921_remove,
 	.driver		= {
 		.name	= "pm8921-core",
 		.owner	= THIS_MODULE,
drivers/mfd/rc5t583.c +1 -1
index f1a024e..d38ee24 100644
@@ -325,7 +325,7 @@ static struct i2c_driver rc5t583_i2c_driver = {
 		   .owner = THIS_MODULE,
 		   },
 	.probe = rc5t583_i2c_probe,
-	.remove = __devexit_p(rc5t583_i2c_remove),
+	.remove = rc5t583_i2c_remove,
 	.id_table = rc5t583_i2c_id,
 };
 
drivers/mfd/rdc321x-southbridge.c +1 -1
index fbabc3cb..3303963 100644
@@ -106,7 +106,7 @@ static struct pci_driver rdc321x_sb_driver = {
 	.name		= "RDC321x Southbridge",
 	.id_table	= rdc321x_sb_table,
 	.probe		= rdc321x_sb_probe,
-	.remove		= __devexit_p(rdc321x_sb_remove),
+	.remove		= rdc321x_sb_remove,
 };
 
 module_pci_driver(rdc321x_sb_driver);
drivers/mfd/rtsx_pcr.c +1 -1
index 3a44efa..11e671c 100644
@@ -1241,7 +1241,7 @@ static struct pci_driver rtsx_pci_driver = {
 	.name = DRV_NAME_RTSX_PCI,
 	.id_table = rtsx_pci_ids,
 	.probe = rtsx_pci_probe,
-	.remove = __devexit_p(rtsx_pci_remove),
+	.remove = rtsx_pci_remove,
 	.suspend = rtsx_pci_suspend,
 	.resume = rtsx_pci_resume,
 };
drivers/mfd/sm501.c +1 -1
index d927dd4..777af5e 100644
@@ -1723,7 +1723,7 @@ static struct pci_driver sm501_pci_driver = {
 	.name		= "sm501",
 	.id_table	= sm501_pci_tbl,
 	.probe		= sm501_pci_probe,
-	.remove		= __devexit_p(sm501_pci_remove),
+	.remove		= sm501_pci_remove,
 };
 
 MODULE_ALIAS("platform:sm501");
drivers/mfd/stmpe-i2c.c +1 -1
index 947a06a..6a6aed7 100644
@@ -88,7 +88,7 @@ static struct i2c_driver stmpe_i2c_driver = {
 	.driver.pm	= &stmpe_dev_pm_ops,
 #endif
 	.probe		= stmpe_i2c_probe,
-	.remove		= __devexit_p(stmpe_i2c_remove),
+	.remove		= stmpe_i2c_remove,
 	.id_table	= stmpe_i2c_id,
 };
 
drivers/mfd/stmpe-spi.c +1 -1
index 9edfe86..29590ad 100644
@@ -128,7 +128,7 @@ static struct spi_driver stmpe_spi_driver = {
 #endif
 	},
 	.probe		= stmpe_spi_probe,
-	.remove		= __devexit_p(stmpe_spi_remove),
+	.remove		= stmpe_spi_remove,
 	.id_table	= stmpe_spi_id,
 };
 
drivers/mfd/syscon.c +1 -1
index 65fe609..d258b59 100644
@@ -156,7 +156,7 @@ static struct platform_driver syscon_driver = {
 		.of_match_table = of_syscon_match,
 	},
 	.probe		= syscon_probe,
-	.remove		= __devexit_p(syscon_remove),
+	.remove		= syscon_remove,
 };
 
 static int __init syscon_init(void)
drivers/mfd/tc3589x.c +1 -1
index 8f4c853..553ce95 100644
@@ -458,7 +458,7 @@ static struct i2c_driver tc3589x_driver = {
 	.driver.owner	= THIS_MODULE,
 	.driver.pm	= &tc3589x_dev_pm_ops,
 	.probe		= tc3589x_probe,
-	.remove		= __devexit_p(tc3589x_remove),
+	.remove		= tc3589x_remove,
 	.id_table	= tc3589x_id,
 };
 
drivers/mfd/tc6387xb.c +1 -1
index 413c891..186f053 100644
@@ -229,7 +229,7 @@ static struct platform_driver tc6387xb_platform_driver = {
 		.name		= "tc6387xb",
 	},
 	.probe		= tc6387xb_probe,
-	.remove		= __devexit_p(tc6387xb_remove),
+	.remove		= tc6387xb_remove,
 	.suspend        = tc6387xb_suspend,
 	.resume         = tc6387xb_resume,
 };
drivers/mfd/tc6393xb.c +1 -1
index dcab026..9411a88 100644
@@ -831,7 +831,7 @@ static int tc6393xb_resume(struct platform_device *dev)
 
 static struct platform_driver tc6393xb_driver = {
 	.probe = tc6393xb_probe,
-	.remove = __devexit_p(tc6393xb_remove),
+	.remove = tc6393xb_remove,
 	.suspend = tc6393xb_suspend,
 	.resume = tc6393xb_resume,
 
drivers/mfd/ti-ssp.c +1 -1
index 7c3675a..1c31f87 100644
@@ -451,7 +451,7 @@ static int __devexit ti_ssp_remove(struct platform_device *pdev)
 
 static struct platform_driver ti_ssp_driver = {
 	.probe		= ti_ssp_probe,
-	.remove		= __devexit_p(ti_ssp_remove),
+	.remove		= ti_ssp_remove,
 	.driver		= {
 		.name	= "ti-ssp",
 		.owner	= THIS_MODULE,
drivers/mfd/ti_am335x_tscadc.c +1 -1
index e947dd8..5b4c274 100644
@@ -266,7 +266,7 @@ static struct platform_driver ti_tscadc_driver = {
 		.pm	= TSCADC_PM_OPS,
 	},
 	.probe	= ti_tscadc_probe,
-	.remove	= __devexit_p(ti_tscadc_remove),
+	.remove	= ti_tscadc_remove,
 
 };
 
drivers/mfd/timberdale.c +1 -1
index cccc626..61badec 100644
@@ -867,7 +867,7 @@ static struct pci_driver timberdale_pci_driver = {
 	.name = DRIVER_NAME,
 	.id_table = timberdale_pci_tbl,
 	.probe = timb_probe,
-	.remove = __devexit_p(timb_remove),
+	.remove = timb_remove,
 };
 
 static int __init timberdale_init(void)
drivers/mfd/tps6105x.c +1 -1
index 14051bd..4538960 100644
@@ -226,7 +226,7 @@ static struct i2c_driver tps6105x_driver = {
 		.name	= "tps6105x",
 	},
 	.probe		= tps6105x_probe,
-	.remove		= __devexit_p(tps6105x_remove),
+	.remove		= tps6105x_remove,
 	.id_table	= tps6105x_id,
 };
 
drivers/mfd/tps65090.c +1 -1
index 074ae32..d43ff16 100644
@@ -354,7 +354,7 @@ static struct i2c_driver tps65090_driver = {
 		.pm	= &tps65090_pm_ops,
 	},
 	.probe		= tps65090_i2c_probe,
-	.remove		= __devexit_p(tps65090_i2c_remove),
+	.remove		= tps65090_i2c_remove,
 	.id_table	= tps65090_id_table,
 };
 
drivers/mfd/tps65217.c +1 -1
index 3fb32e6..76360c10 100644
@@ -237,7 +237,7 @@ static struct i2c_driver tps65217_driver = {
 	},
 	.id_table	= tps65217_id_table,
 	.probe		= tps65217_probe,
-	.remove		= __devexit_p(tps65217_remove),
+	.remove		= tps65217_remove,
 };
 
 static int __init tps65217_init(void)
drivers/mfd/tps6586x.c +1 -1
index c11539a..664e07c 100644
@@ -623,7 +623,7 @@ static struct i2c_driver tps6586x_driver = {
 		.of_match_table = of_match_ptr(tps6586x_of_match),
 	},
 	.probe		= tps6586x_i2c_probe,
-	.remove		= __devexit_p(tps6586x_i2c_remove),
+	.remove		= tps6586x_i2c_remove,
 	.id_table	= tps6586x_id_table,
 };
 
drivers/mfd/tps65910.c +1 -1
index 0d79ce2..a3d732b 100644
@@ -327,7 +327,7 @@ static struct i2c_driver tps65910_i2c_driver = {
 		   .of_match_table = of_match_ptr(tps65910_of_match),
 	},
 	.probe = tps65910_i2c_probe,
-	.remove = __devexit_p(tps65910_i2c_remove),
+	.remove = tps65910_i2c_remove,
 	.id_table = tps65910_i2c_id,
 };
 
drivers/mfd/tps65911-comparator.c +1 -1
index 0b6e361..a025587 100644
@@ -169,7 +169,7 @@ static struct platform_driver tps65911_comparator_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = tps65911_comparator_probe,
-	.remove = __devexit_p(tps65911_comparator_remove),
+	.remove = tps65911_comparator_remove,
 };
 
 static int __init tps65911_comparator_init(void)
drivers/mfd/tps65912-spi.c +1 -1
index 27d3302..054315d 100644
@@ -114,7 +114,7 @@ static struct spi_driver tps65912_spi_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe	= tps65912_spi_probe,
-	.remove = __devexit_p(tps65912_spi_remove),
+	.remove = tps65912_spi_remove,
 };
 
 static int __init tps65912_spi_init(void)
drivers/mfd/twl4030-audio.c +1 -1
index 5c11acf..08f9905 100644
@@ -291,7 +291,7 @@ static struct platform_driver twl4030_audio_driver = {
 		.of_match_table = twl4030_audio_of_match,
 	},
 	.probe		= twl4030_audio_probe,
-	.remove		= __devexit_p(twl4030_audio_remove),
+	.remove		= twl4030_audio_remove,
 };
 
 module_platform_driver(twl4030_audio_driver);
drivers/mfd/twl6040.c +1 -1
index e5f7b79..dde1754 100644
@@ -736,7 +736,7 @@ static struct i2c_driver twl6040_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe		= twl6040_probe,
-	.remove		= __devexit_p(twl6040_remove),
+	.remove		= twl6040_remove,
 	.id_table	= twl6040_i2c_id,
 };
 
drivers/mfd/vx855.c +1 -1
index b9a636d..c5a7df8 100644
@@ -128,7 +128,7 @@ static struct pci_driver vx855_pci_driver = {
 	.name		= "vx855",
 	.id_table	= vx855_pci_tbl,
 	.probe		= vx855_probe,
-	.remove		= __devexit_p(vx855_remove),
+	.remove		= vx855_remove,
 };
 
 module_pci_driver(vx855_pci_driver);
drivers/mfd/wl1273-core.c +1 -1
index 86e0e43..7f3f389 100644
@@ -262,7 +262,7 @@ static struct i2c_driver wl1273_core_driver = {
 	},
 	.probe = wl1273_core_probe,
 	.id_table = wl1273_driver_id_table,
-	.remove = __devexit_p(wl1273_core_remove),
+	.remove = wl1273_core_remove,
 };
 
 static int __init wl1273_core_init(void)
drivers/mfd/wm831x-spi.c +1 -1
index 4bceee9..4329a3a 100644
@@ -99,7 +99,7 @@ static struct spi_driver wm831x_spi_driver = {
 	},
 	.id_table	= wm831x_spi_ids,
 	.probe		= wm831x_spi_probe,
-	.remove		= __devexit_p(wm831x_spi_remove),
+	.remove		= wm831x_spi_remove,
 	.shutdown	= wm831x_spi_shutdown,
 };
 
drivers/mfd/wm8994-core.c +1 -1
index 8fefc96..bb9cf52 100644
@@ -744,7 +744,7 @@ static struct i2c_driver wm8994_i2c_driver = {
 		.of_match_table = wm8994_of_match,
 	},
 	.probe = wm8994_i2c_probe,
-	.remove = __devexit_p(wm8994_i2c_remove),
+	.remove = wm8994_i2c_remove,
 	.id_table = wm8994_i2c_id,
 };
 
Signature · 1 line
1.8.0
#98 lore raw

PATCH 75/493 mfd: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121120/cca33b1e/attachment.sig>

#99 lore raw

PATCH 75/493 mfd: remove use of __devexit_p

In reply to Bill Pemberton
Quoted 13 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Srinidhi Kasagar <[email protected]>
Cc Peter Tyser <[email protected]>
Cc David Brown <[email protected]>
Cc Daniel Walker <[email protected]>
Cc Bryan Huntsman <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc device-drivers-devel at blackfin.uclinux.org
Cc patches at opensource.wolfsonmicro.com
Cc linux-arm-msm at vger.kernel.org
Quoted 2 lines
---
 drivers/mfd/pm8921-core.c         | 2 +-
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
#100 lore raw

PATCH 75/493 mfd: remove use of __devexit_p

In reply to Bill Pemberton
Quoted 13 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Srinidhi Kasagar <[email protected]>
Cc Peter Tyser <[email protected]>
Cc David Brown <[email protected]>
Cc Daniel Walker <[email protected]>
Cc Bryan Huntsman <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc device-drivers-devel at blackfin.uclinux.org
Cc patches at opensource.wolfsonmicro.com
Cc linux-arm-msm at vger.kernel.org

Yours,
Linus Walleij

#101 lore raw

PATCH 77/493 mmc: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Chris Ball <[email protected]>
Cc "Micha? Miros?aw" <[email protected]>
Cc Jarkko Lavinen <[email protected]>
Cc Venkatraman S <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Ian Molton <[email protected]>
Cc Bruce Chang <[email protected]>
Cc Harald Welte <[email protected]>
Cc Pierre Ossman <[email protected]>
Cc uclinux-dist-devel at blackfin.uclinux.org
Cc linux-mmc at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
Cc spear-devel at list.st.com
---
 drivers/mmc/host/bfin_sdh.c        | 2 +-
 drivers/mmc/host/cb710-mmc.c       | 2 +-
 drivers/mmc/host/dw_mmc-pci.c      | 2 +-
 drivers/mmc/host/dw_mmc-pltfm.c    | 2 +-
 drivers/mmc/host/jz4740_mmc.c      | 2 +-
 drivers/mmc/host/mmc_spi.c         | 2 +-
 drivers/mmc/host/mmci.c            | 2 +-
 drivers/mmc/host/omap.c            | 2 +-
 drivers/mmc/host/omap_hsmmc.c      | 2 +-
 drivers/mmc/host/s3cmci.c          | 2 +-
 drivers/mmc/host/sdhci-cns3xxx.c   | 2 +-
 drivers/mmc/host/sdhci-dove.c      | 2 +-
 drivers/mmc/host/sdhci-esdhc-imx.c | 2 +-
 drivers/mmc/host/sdhci-of-esdhc.c  | 2 +-
 drivers/mmc/host/sdhci-of-hlwd.c   | 2 +-
 drivers/mmc/host/sdhci-pci.c       | 2 +-
 drivers/mmc/host/sdhci-pxav2.c     | 2 +-
 drivers/mmc/host/sdhci-pxav3.c     | 2 +-
 drivers/mmc/host/sdhci-s3c.c       | 2 +-
 drivers/mmc/host/sdhci-spear.c     | 2 +-
 drivers/mmc/host/sdhci-tegra.c     | 2 +-
 drivers/mmc/host/sh_mobile_sdhi.c  | 2 +-
 drivers/mmc/host/tmio_mmc.c        | 2 +-
 drivers/mmc/host/via-sdmmc.c       | 2 +-
 drivers/mmc/host/wbsd.c            | 4 ++--
 25 files changed, 26 insertions(+), 26 deletions(-)
drivers/mmc/host/bfin_sdh.c +1 -1
index b9b463e..156ebe7 100644
@@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev)
 
 static struct platform_driver sdh_driver = {
 	.probe   = sdh_probe,
-	.remove  = __devexit_p(sdh_remove),
+	.remove  = sdh_remove,
 	.suspend = sdh_suspend,
 	.resume  = sdh_resume,
 	.driver  = {
drivers/mmc/host/cb710-mmc.c +1 -1
index 83693fd..39280b5 100644
@@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev)
 static struct platform_driver cb710_mmc_driver = {
 	.driver.name = "cb710-mmc",
 	.probe = cb710_mmc_init,
-	.remove = __devexit_p(cb710_mmc_exit),
+	.remove = cb710_mmc_exit,
 #ifdef CONFIG_PM
 	.suspend = cb710_mmc_suspend,
 	.resume = cb710_mmc_resume,
drivers/mmc/host/dw_mmc-pci.c +1 -1
index 53a09cb..edb37e9 100644
@@ -134,7 +134,7 @@ static struct pci_driver dw_mci_pci_driver = {
 	.name		= "dw_mmc_pci",
 	.id_table	= dw_mci_pci_id,
 	.probe		= dw_mci_pci_probe,
-	.remove		= __devexit_p(dw_mci_pci_remove),
+	.remove		= dw_mci_pci_remove,
 	.driver		=	{
 		.pm =   &dw_mci_pci_pmops
 	},
drivers/mmc/host/dw_mmc-pltfm.c +1 -1
index 4e13370..4c1b1df 100644
@@ -120,7 +120,7 @@ MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
 
 static struct platform_driver dw_mci_pltfm_driver = {
 	.probe		= dw_mci_pltfm_probe,
-	.remove		= __devexit_p(dw_mci_pltfm_remove),
+	.remove		= dw_mci_pltfm_remove,
 	.driver		= {
 		.name		= "dw_mmc",
 		.of_match_table	= of_match_ptr(dw_mci_pltfm_match),
drivers/mmc/host/jz4740_mmc.c +1 -1
index c8852a8..31cf20f 100644
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = {
 
 static struct platform_driver jz4740_mmc_driver = {
 	.probe = jz4740_mmc_probe,
-	.remove = __devexit_p(jz4740_mmc_remove),
+	.remove = jz4740_mmc_remove,
 	.driver = {
 		.name = "jz4740-mmc",
 		.owner = THIS_MODULE,
drivers/mmc/host/mmc_spi.c +1 -1
index a600eab..f7df798 100644
@@ -1529,7 +1529,7 @@ static struct spi_driver mmc_spi_driver = {
 		.of_match_table = mmc_spi_of_match_table,
 	},
 	.probe =	mmc_spi_probe,
-	.remove =	__devexit_p(mmc_spi_remove),
+	.remove =	mmc_spi_remove,
 };
 
 module_spi_driver(mmc_spi_driver);
drivers/mmc/host/mmci.c +1 -1
index 9446c17..705c3be 100644
@@ -1693,7 +1693,7 @@ static struct amba_driver mmci_driver = {
 		.pm	= &mmci_dev_pm_ops,
 	},
 	.probe		= mmci_probe,
-	.remove		= __devexit_p(mmci_remove),
+	.remove		= mmci_remove,
 	.id_table	= mmci_ids,
 };
 
drivers/mmc/host/omap.c +1 -1
index ae115c0..f65ec26 100644
@@ -1583,7 +1583,7 @@ static int mmc_omap_resume(struct platform_device *pdev)
 
 static struct platform_driver mmc_omap_driver = {
 	.probe		= mmc_omap_probe,
-	.remove		= __devexit_p(mmc_omap_remove),
+	.remove		= mmc_omap_remove,
 	.suspend	= mmc_omap_suspend,
 	.resume		= mmc_omap_resume,
 	.driver		= {
drivers/mmc/host/omap_hsmmc.c +1 -1
index 7546cb2..8f5c7e2 100644
@@ -2156,7 +2156,7 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
 
 static struct platform_driver omap_hsmmc_driver = {
 	.probe		= omap_hsmmc_probe,
-	.remove		= __devexit_p(omap_hsmmc_remove),
+	.remove		= omap_hsmmc_remove,
 	.driver		= {
 		.name = DRIVER_NAME,
 		.owner = THIS_MODULE,
drivers/mmc/host/s3cmci.c +1 -1
index 4638dda..a5fe5b2 100644
@@ -1906,7 +1906,7 @@ static struct platform_driver s3cmci_driver = {
 	},
 	.id_table	= s3cmci_driver_ids,
 	.probe		= s3cmci_probe,
-	.remove		= __devexit_p(s3cmci_remove),
+	.remove		= s3cmci_remove,
 	.shutdown	= s3cmci_shutdown,
 };
 
drivers/mmc/host/sdhci-cns3xxx.c +1 -1
index 28a8708..9236fa9 100644
@@ -112,7 +112,7 @@ static struct platform_driver sdhci_cns3xxx_driver = {
 		.pm	= SDHCI_PLTFM_PMOPS,
 	},
 	.probe		= sdhci_cns3xxx_probe,
-	.remove		= __devexit_p(sdhci_cns3xxx_remove),
+	.remove		= sdhci_cns3xxx_remove,
 };
 
 module_platform_driver(sdhci_cns3xxx_driver);
drivers/mmc/host/sdhci-dove.c +1 -1
index 8fd50a2..7ad1bb6 100644
@@ -143,7 +143,7 @@ static struct platform_driver sdhci_dove_driver = {
 		.of_match_table = of_match_ptr(sdhci_dove_of_match_table),
 	},
 	.probe		= sdhci_dove_probe,
-	.remove		= __devexit_p(sdhci_dove_remove),
+	.remove		= sdhci_dove_remove,
 };
 
 module_platform_driver(sdhci_dove_driver);
drivers/mmc/host/sdhci-esdhc-imx.c +1 -1
index effc2ac..6a4e98e 100644
@@ -637,7 +637,7 @@ static struct platform_driver sdhci_esdhc_imx_driver = {
 	},
 	.id_table	= imx_esdhc_devtype,
 	.probe		= sdhci_esdhc_imx_probe,
-	.remove		= __devexit_p(sdhci_esdhc_imx_remove),
+	.remove		= sdhci_esdhc_imx_remove,
 };
 
 module_platform_driver(sdhci_esdhc_imx_driver);
drivers/mmc/host/sdhci-of-esdhc.c +1 -1
index 63d219f..d7eb4ed 100644
@@ -234,7 +234,7 @@ static struct platform_driver sdhci_esdhc_driver = {
 		.pm = SDHCI_PLTFM_PMOPS,
 	},
 	.probe = sdhci_esdhc_probe,
-	.remove = __devexit_p(sdhci_esdhc_remove),
+	.remove = sdhci_esdhc_remove,
 };
 
 module_platform_driver(sdhci_esdhc_driver);
drivers/mmc/host/sdhci-of-hlwd.c +1 -1
index 0ce088ae..3b68069 100644
@@ -90,7 +90,7 @@ static struct platform_driver sdhci_hlwd_driver = {
 		.pm = SDHCI_PLTFM_PMOPS,
 	},
 	.probe = sdhci_hlwd_probe,
-	.remove = __devexit_p(sdhci_hlwd_remove),
+	.remove = sdhci_hlwd_remove,
 };
 
 module_platform_driver(sdhci_hlwd_driver);
drivers/mmc/host/sdhci-pci.c +1 -1
index 04936f3..7bc2270 100644
@@ -1470,7 +1470,7 @@ static struct pci_driver sdhci_driver = {
 	.name =		"sdhci-pci",
 	.id_table =	pci_ids,
 	.probe =	sdhci_pci_probe,
-	.remove =	__devexit_p(sdhci_pci_remove),
+	.remove =	sdhci_pci_remove,
 	.driver =	{
 		.pm =   &sdhci_pci_pm_ops
 	},
drivers/mmc/host/sdhci-pxav2.c +1 -1
index 8e63a9c..964fc6d 100644
@@ -275,7 +275,7 @@ static struct platform_driver sdhci_pxav2_driver = {
 		.pm	= SDHCI_PLTFM_PMOPS,
 	},
 	.probe		= sdhci_pxav2_probe,
-	.remove		= __devexit_p(sdhci_pxav2_remove),
+	.remove		= sdhci_pxav2_remove,
 };
 
 module_platform_driver(sdhci_pxav2_driver);
drivers/mmc/host/sdhci-pxav3.c +1 -1
index e918a2b..a46cb67 100644
@@ -346,7 +346,7 @@ static struct platform_driver sdhci_pxav3_driver = {
 		.pm	= SDHCI_PLTFM_PMOPS,
 	},
 	.probe		= sdhci_pxav3_probe,
-	.remove		= __devexit_p(sdhci_pxav3_remove),
+	.remove		= sdhci_pxav3_remove,
 };
 
 module_platform_driver(sdhci_pxav3_driver);
drivers/mmc/host/sdhci-s3c.c +1 -1
index a54dd5d..b62a0c1 100644
@@ -916,7 +916,7 @@ MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match);
 
 static struct platform_driver sdhci_s3c_driver = {
 	.probe		= sdhci_s3c_probe,
-	.remove		= __devexit_p(sdhci_s3c_remove),
+	.remove		= sdhci_s3c_remove,
 	.id_table	= sdhci_s3c_driver_ids,
 	.driver		= {
 		.owner	= THIS_MODULE,
drivers/mmc/host/sdhci-spear.c +1 -1
index 6be89c0..3ba9479 100644
@@ -336,7 +336,7 @@ static struct platform_driver sdhci_driver = {
 		.of_match_table = of_match_ptr(sdhci_spear_id_table),
 	},
 	.probe		= sdhci_probe,
-	.remove		= __devexit_p(sdhci_remove),
+	.remove		= sdhci_remove,
 };
 
 module_platform_driver(sdhci_driver);
drivers/mmc/host/sdhci-tegra.c +1 -1
index f9eb916..f284354 100644
@@ -407,7 +407,7 @@ static struct platform_driver sdhci_tegra_driver = {
 		.pm	= SDHCI_PLTFM_PMOPS,
 	},
 	.probe		= sdhci_tegra_probe,
-	.remove		= __devexit_p(sdhci_tegra_remove),
+	.remove		= sdhci_tegra_remove,
 };
 
 module_platform_driver(sdhci_tegra_driver);
drivers/mmc/host/sh_mobile_sdhi.c +1 -1
index 0bdc146..6a9a625 100644
@@ -330,7 +330,7 @@ static struct platform_driver sh_mobile_sdhi_driver = {
 		.of_match_table = sh_mobile_sdhi_of_match,
 	},
 	.probe		= sh_mobile_sdhi_probe,
-	.remove		= __devexit_p(sh_mobile_sdhi_remove),
+	.remove		= sh_mobile_sdhi_remove,
 };
 
 module_platform_driver(sh_mobile_sdhi_driver);
drivers/mmc/host/tmio_mmc.c +1 -1
index 113ce6c..2f9bbdf 100644
@@ -133,7 +133,7 @@ static struct platform_driver tmio_mmc_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = tmio_mmc_probe,
-	.remove = __devexit_p(tmio_mmc_remove),
+	.remove = tmio_mmc_remove,
 	.suspend = tmio_mmc_suspend,
 	.resume = tmio_mmc_resume,
 };
drivers/mmc/host/via-sdmmc.c +1 -1
index f18bece..d8f8a5e 100644
@@ -1332,7 +1332,7 @@ static struct pci_driver via_sd_driver = {
 	.name = DRV_NAME,
 	.id_table = via_ids,
 	.probe = via_sd_probe,
-	.remove = __devexit_p(via_sd_remove),
+	.remove = via_sd_remove,
 	.suspend = via_sd_suspend,
 	.resume = via_sd_resume,
 };
drivers/mmc/host/wbsd.c +2 -2
index 64acd9c..3c8ef59 100644
@@ -1941,7 +1941,7 @@ static struct platform_device *wbsd_device;
 
 static struct platform_driver wbsd_driver = {
 	.probe		= wbsd_probe,
-	.remove		= __devexit_p(wbsd_remove),
+	.remove		= wbsd_remove,
 
 	.suspend	= wbsd_platform_suspend,
 	.resume		= wbsd_platform_resume,
@@ -1957,7 +1957,7 @@ static struct pnp_driver wbsd_pnp_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= pnp_dev_table,
 	.probe		= wbsd_pnp_probe,
-	.remove		= __devexit_p(wbsd_pnp_remove),
+	.remove		= wbsd_pnp_remove,
 
 	.suspend	= wbsd_pnp_suspend,
 	.resume		= wbsd_pnp_resume,
Signature · 1 line
1.8.0
maintainer
#102 lore raw

PATCH 77/493 mmc: remove use of __devexit_p

Quoted 19 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Chris Ball <[email protected]>
Cc "Micha? Miros?aw" <[email protected]>
Cc Jarkko Lavinen <[email protected]>
Cc Venkatraman S <[email protected]>
Cc Viresh Kumar <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Ian Molton <[email protected]>
Cc Bruce Chang <[email protected]>
Cc Harald Welte <[email protected]>
Cc Pierre Ossman <[email protected]>
Cc uclinux-dist-devel at blackfin.uclinux.org
Cc linux-mmc at vger.kernel.org
Cc linux-omap at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
Cc spear-devel at list.st.com
Quoted 2 lines
---
 drivers/mmc/host/sdhci-spear.c     | 2 +-
#104 lore raw

PATCH 78/493 arcnet: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/arcnet/com20020-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/arcnet/com20020-pci.c +1 -1
index d427493..dcedba8 100644
@@ -178,7 +178,7 @@ static struct pci_driver com20020pci_driver = {
 	.name		= "com20020",
 	.id_table	= com20020pci_id_table,
 	.probe		= com20020pci_probe,
-	.remove		= __devexit_p(com20020pci_remove),
+	.remove		= com20020pci_remove,
 };
 
 static int __init com20020pci_init(void)
Signature · 1 line
1.8.0
#105 lore raw

PATCH 79/493 can: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/can/at91_can.c                    | 2 +-
 drivers/net/can/bfin_can.c                    | 2 +-
 drivers/net/can/c_can/c_can_pci.c             | 2 +-
 drivers/net/can/c_can/c_can_platform.c        | 2 +-
 drivers/net/can/cc770/cc770_isa.c             | 2 +-
 drivers/net/can/cc770/cc770_platform.c        | 2 +-
 drivers/net/can/flexcan.c                     | 2 +-
 drivers/net/can/janz-ican3.c                  | 2 +-
 drivers/net/can/mcp251x.c                     | 2 +-
 drivers/net/can/mscan/mpc5xxx_can.c           | 2 +-
 drivers/net/can/pch_can.c                     | 2 +-
 drivers/net/can/sja1000/kvaser_pci.c          | 2 +-
 drivers/net/can/sja1000/peak_pci.c            | 2 +-
 drivers/net/can/sja1000/sja1000_isa.c         | 2 +-
 drivers/net/can/sja1000/sja1000_of_platform.c | 2 +-
 drivers/net/can/sja1000/tscan1.c              | 2 +-
 drivers/net/can/softing/softing_cs.c          | 2 +-
 drivers/net/can/softing/softing_main.c        | 2 +-
 drivers/net/can/ti_hecc.c                     | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)
drivers/net/can/at91_can.c +1 -1
index 994b6ac..0f08305 100644
@@ -1374,7 +1374,7 @@ static const struct platform_device_id at91_can_id_table[] = {
 
 static struct platform_driver at91_can_driver = {
 	.probe = at91_can_probe,
-	.remove = __devexit_p(at91_can_remove),
+	.remove = at91_can_remove,
 	.driver = {
 		.name = KBUILD_MODNAME,
 		.owner = THIS_MODULE,
drivers/net/can/bfin_can.c +1 -1
index f2d6d25..ee4983a 100644
@@ -677,7 +677,7 @@ static int bfin_can_resume(struct platform_device *pdev)
 
 static struct platform_driver bfin_can_driver = {
 	.probe = bfin_can_probe,
-	.remove = __devexit_p(bfin_can_remove),
+	.remove = bfin_can_remove,
 	.suspend = bfin_can_suspend,
 	.resume = bfin_can_resume,
 	.driver = {
drivers/net/can/c_can/c_can_pci.c +1 -1
index 3d7830b..019cf71 100644
@@ -210,7 +210,7 @@ static struct pci_driver c_can_pci_driver = {
 	.name = KBUILD_MODNAME,
 	.id_table = c_can_pci_tbl,
 	.probe = c_can_pci_probe,
-	.remove = __devexit_p(c_can_pci_remove),
+	.remove = c_can_pci_remove,
 };
 
 module_pci_driver(c_can_pci_driver);
drivers/net/can/c_can/c_can_platform.c +1 -1
index ee14161..fed1dd1 100644
@@ -306,7 +306,7 @@ static struct platform_driver c_can_plat_driver = {
 		.of_match_table = of_match_ptr(c_can_of_table),
 	},
 	.probe = c_can_plat_probe,
-	.remove = __devexit_p(c_can_plat_remove),
+	.remove = c_can_plat_remove,
 	.suspend = c_can_suspend,
 	.resume = c_can_resume,
 	.id_table = c_can_id_table,
drivers/net/can/cc770/cc770_isa.c +1 -1
index 9f3a25c..dfa9a45 100644
@@ -316,7 +316,7 @@ static int __devexit cc770_isa_remove(struct platform_device *pdev)
 
 static struct platform_driver cc770_isa_driver = {
 	.probe = cc770_isa_probe,
-	.remove = __devexit_p(cc770_isa_remove),
+	.remove = cc770_isa_remove,
 	.driver = {
 		.name = KBUILD_MODNAME,
 		.owner = THIS_MODULE,
drivers/net/can/cc770/cc770_platform.c +1 -1
index 688371c..a294926 100644
@@ -266,7 +266,7 @@ static struct platform_driver cc770_platform_driver = {
 		.of_match_table = cc770_platform_table,
 	},
 	.probe = cc770_platform_probe,
-	.remove = __devexit_p(cc770_platform_remove),
+	.remove = cc770_platform_remove,
 };
 
 module_platform_driver(cc770_platform_driver);
drivers/net/can/flexcan.c +1 -1
index a412bf6..01e0201 100644
@@ -1168,7 +1168,7 @@ static struct platform_driver flexcan_driver = {
 		.of_match_table = flexcan_of_match,
 	},
 	.probe = flexcan_probe,
-	.remove = __devexit_p(flexcan_remove),
+	.remove = flexcan_remove,
 	.suspend = flexcan_suspend,
 	.resume = flexcan_resume,
 	.id_table = flexcan_id_table,
drivers/net/can/janz-ican3.c +1 -1
index 7edadee..a9dfcb9 100644
@@ -1927,7 +1927,7 @@ static struct platform_driver ican3_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= ican3_probe,
-	.remove		= __devexit_p(ican3_remove),
+	.remove		= ican3_remove,
 };
 
 module_platform_driver(ican3_driver);
drivers/net/can/mcp251x.c +1 -1
index 26e7129..7a059d1 100644
@@ -1198,7 +1198,7 @@ static struct spi_driver mcp251x_can_driver = {
 
 	.id_table = mcp251x_id_table,
 	.probe = mcp251x_can_probe,
-	.remove = __devexit_p(mcp251x_can_remove),
+	.remove = mcp251x_can_remove,
 	.suspend = mcp251x_can_suspend,
 	.resume = mcp251x_can_resume,
 };
drivers/net/can/mscan/mpc5xxx_can.c +1 -1
index 799c354..db59bbc 100644
@@ -404,7 +404,7 @@ static struct platform_driver mpc5xxx_can_driver = {
 		.of_match_table = mpc5xxx_can_table,
 	},
 	.probe = mpc5xxx_can_probe,
-	.remove = __devexit_p(mpc5xxx_can_remove),
+	.remove = mpc5xxx_can_remove,
 #ifdef CONFIG_PM
 	.suspend = mpc5xxx_can_suspend,
 	.resume = mpc5xxx_can_resume,
drivers/net/can/pch_can.c +1 -1
index 48b3d62..56145f9 100644
@@ -1269,7 +1269,7 @@ static struct pci_driver pch_can_pci_driver = {
 	.name = "pch_can",
 	.id_table = pch_pci_tbl,
 	.probe = pch_can_probe,
-	.remove = __devexit_p(pch_can_remove),
+	.remove = pch_can_remove,
 	.suspend = pch_can_suspend,
 	.resume = pch_can_resume,
 };
drivers/net/can/sja1000/kvaser_pci.c +1 -1
index 23ed6ea..be95c42 100644
@@ -394,7 +394,7 @@ static struct pci_driver kvaser_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = kvaser_pci_tbl,
 	.probe = kvaser_pci_init_one,
-	.remove = __devexit_p(kvaser_pci_remove_one),
+	.remove = kvaser_pci_remove_one,
 };
 
 module_pci_driver(kvaser_pci_driver);
drivers/net/can/sja1000/peak_pci.c +1 -1
index 6525dbc..0247efa 100644
@@ -757,7 +757,7 @@ static struct pci_driver peak_pci_driver = {
 	.name = DRV_NAME,
 	.id_table = peak_pci_tbl,
 	.probe = peak_pci_probe,
-	.remove = __devexit_p(peak_pci_remove),
+	.remove = peak_pci_remove,
 };
 
 module_pci_driver(peak_pci_driver);
drivers/net/can/sja1000/sja1000_isa.c +1 -1
index 90c5c2d..f910102 100644
@@ -248,7 +248,7 @@ static int __devexit sja1000_isa_remove(struct platform_device *pdev)
 
 static struct platform_driver sja1000_isa_driver = {
 	.probe = sja1000_isa_probe,
-	.remove = __devexit_p(sja1000_isa_remove),
+	.remove = sja1000_isa_remove,
 	.driver = {
 		.name = DRV_NAME,
 		.owner = THIS_MODULE,
drivers/net/can/sja1000/sja1000_of_platform.c +1 -1
index f2683eb..a330fe8 100644
@@ -217,7 +217,7 @@ static struct platform_driver sja1000_ofp_driver = {
 		.of_match_table = sja1000_ofp_table,
 	},
 	.probe = sja1000_ofp_probe,
-	.remove = __devexit_p(sja1000_ofp_remove),
+	.remove = sja1000_ofp_remove,
 };
 
 module_platform_driver(sja1000_ofp_driver);
drivers/net/can/sja1000/tscan1.c +1 -1
index 9756099..04a9001 100644
@@ -197,7 +197,7 @@ static int __devexit tscan1_remove(struct device *dev, unsigned id /*unused*/)
 
 static struct isa_driver tscan1_isa_driver = {
 	.probe = tscan1_probe,
-	.remove = __devexit_p(tscan1_remove),
+	.remove = tscan1_remove,
 	.driver = {
 		.name = "tscan1",
 	},
drivers/net/can/softing/softing_cs.c +1 -1
index c0e1b1e..ab132c5 100644
@@ -338,7 +338,7 @@ static struct pcmcia_driver softingcs_driver = {
 	.name		= "softingcs",
 	.id_table	= softingcs_ids,
 	.probe		= softingcs_probe,
-	.remove		= __devexit_p(softingcs_remove),
+	.remove		= softingcs_remove,
 };
 
 static int __init softingcs_start(void)
drivers/net/can/softing/softing_main.c +1 -1
index f2a221e..6337581 100644
@@ -871,7 +871,7 @@ static struct platform_driver softing_driver = {
 		.owner = THIS_MODULE,
 	},
 	.probe = softing_pdev_probe,
-	.remove = __devexit_p(softing_pdev_remove),
+	.remove = softing_pdev_remove,
 };
 
 module_platform_driver(softing_driver);
drivers/net/can/ti_hecc.c +1 -1
index 9ded21e..80ee814 100644
@@ -1045,7 +1045,7 @@ static struct platform_driver ti_hecc_driver = {
 		.owner   = THIS_MODULE,
 	},
 	.probe = ti_hecc_probe,
-	.remove = __devexit_p(ti_hecc_remove),
+	.remove = ti_hecc_remove,
 	.suspend = ti_hecc_suspend,
 	.resume = ti_hecc_resume,
 };
Signature · 1 line
1.8.0
#106 lore raw

Re: [PATCH 079/493] can: remove use of __devexit_p

Quoted 8 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

In net-next/master are two patches, a new driver and support for more hardware:

Quoted 2 lines

6cec9b0 can: grcan: Add device driver for GRCAN and GRHCAN cores
e4bc6c0 can: sja1000: plx_pci: add support for Connect Tech Inc's Canpro/104-Plus Opto CAN board

...so you've missed these:

Quoted 5 lines

./grcan.c:1662:static int __devinit grcan_probe(struct platform_device *ofdev) ./grcan.c:1717:static int __devexit grcan_remove(struct platform_device *ofdev) ./grcan.c:1732:static struct of_device_id grcan_match[] __devinitconst = { ./grcan.c:1749: .remove = __devexit_p(grcan_remove), ./sja1000/plx_pci.c:229:static struct plx_pci_card_info plx_pci_card_info_cti __devinitdata = {

I can create the missing patches and push them mainline via the net-next tree.

Otherwise...Acked-by: Marc Kleine-Budde <[email protected]>

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
#107 lore raw

PATCH 80/493 fddi: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/fddi/defxx.c       | 6 +++---
 drivers/net/fddi/skfp/skfddi.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/fddi/defxx.c +3 -3
index 6695a1d..538f8bb 100644
@@ -3637,7 +3637,7 @@ static struct pci_driver dfx_pci_driver = {
 	.name		= "defxx",
 	.id_table	= dfx_pci_table,
 	.probe		= dfx_pci_register,
-	.remove		= __devexit_p(dfx_pci_unregister),
+	.remove		= dfx_pci_unregister,
 };
 
 static __devinit int dfx_pci_register(struct pci_dev *pdev,
@@ -3668,7 +3668,7 @@ static struct eisa_driver dfx_eisa_driver = {
 		.name	= "defxx",
 		.bus	= &eisa_bus_type,
 		.probe	= dfx_dev_register,
-		.remove	= __devexit_p(dfx_dev_unregister),
+		.remove	= dfx_dev_unregister,
 	},
 };
 #endif /* CONFIG_EISA */
@@ -3689,7 +3689,7 @@ static struct tc_driver dfx_tc_driver = {
 		.name	= "defxx",
 		.bus	= &tc_bus_type,
 		.probe	= dfx_dev_register,
-		.remove	= __devexit_p(dfx_dev_unregister),
+		.remove	= dfx_dev_unregister,
 	},
 };
 #endif /* CONFIG_TC */
drivers/net/fddi/skfp/skfddi.c +1 -1
index 3d9a459..cbabb74 100644
@@ -2243,7 +2243,7 @@ static struct pci_driver skfddi_pci_driver = {
 	.name		= "skfddi",
 	.id_table	= skfddi_pci_tbl,
 	.probe		= skfp_init_one,
-	.remove		= __devexit_p(skfp_remove_one),
+	.remove		= skfp_remove_one,
 };
 
 static int __init skfd_init(void)
Signature · 1 line
1.8.0
#108 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Shouldn't this be switching to __exit_p() instead? Likewise all the
other changes concerned (i.e. s/__dev\(init\|exit\)/__\1/), for the sake of drivers built into the kernel proper (yes, there are people out there still doing that). Am I missing something?

This change scores my NAK as it stands, until updated accordingly or
further justified.

Maciej

#109 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 9 lines · Maciej W. Rozycki
Quoted 2 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Shouldn't this be switching to __exit_p() instead? Likewise all the
other changes concerned (i.e. s/__dev\(init\|exit\)/__\1/), for the sake of drivers built into the kernel proper (yes, there are people out there still doing that). Am I missing something?

Drivers can be unbound by poking in sysfs.

Ben.

Quoted 2 lines

This change scores my NAK as it stands, until updated accordingly or
further justified.

Signature · 3 lines
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
maintainer
#110 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

In reply to Maciej W. Rozycki

From: "Maciej W. Rozycki" <[email protected]>
Date: Mon, 19 Nov 2012 18:49:00 +0000 (GMT)

Quoted 4 lines · Bill Pemberton

This change scores my NAK as it stands, until updated accordingly or
further justified.

I also refuse to apply any of these patches, they are rediculous and also submitted in an inconsiderate and improper manner.

#111 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

In reply to Maciej W. Rozycki
Quoted 10 lines · Maciej W. Rozycki
Quoted 2 lines

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Shouldn't this be switching to __exit_p() instead? Likewise all the
other changes concerned (i.e. s/__dev\(init\|exit\)/__\1/), for the sake of drivers built into the kernel proper (yes, there are people out there still doing that). Am I missing something?

This change scores my NAK as it stands, until updated accordingly or
further justified.

I have unconfused myself now, so please replace the above with the
following question: what about configurations (e.g. buses) that not support hotplug at all? For example apart from PCI the defxx driver concerned here supports the TURBOchannel bus that by design does not have the concept of live option card removal (no such circuitry). So should now the precious memory be wasted on systems that will never ever handle hotplug?

Maciej

maintainer
#112 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 13 lines · Maciej W. Rozycki
Quoted 10 lines · Maciej W. Rozycki
Quoted 2 lines

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Shouldn't this be switching to __exit_p() instead? Likewise all the
other changes concerned (i.e. s/__dev\(init\|exit\)/__\1/), for the sake of drivers built into the kernel proper (yes, there are people out there still doing that). Am I missing something?

This change scores my NAK as it stands, until updated accordingly or
further justified.

Quoted 7 lines

I have unconfused myself now, so please replace the above with the
following question: what about configurations (e.g. buses) that not support hotplug at all? For example apart from PCI the defxx driver concerned here supports the TURBOchannel bus that by design does not have the concept of live option card removal (no such circuitry). So should now the precious memory be wasted on systems that will never ever handle hotplug?

CONFIG_HOTPLUG is always enabled now, so that's not an option anymore. And again, a user can "hot unbind" a driver from a device from userspace, no matter if the bus physically supports it or not.

thanks,

greg k-h

#113 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 4 lines · Greg KH

CONFIG_HOTPLUG is always enabled now, so that's not an option anymore. And again, a user can "hot unbind" a driver from a device from userspace, no matter if the bus physically supports it or not.

Which mailing list was this originally posted on? (I only have subscribed to netdev, and google has not indexed 000/493--001/493 yet.)

#114 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 10 lines · Jan Engelhardt
Quoted 4 lines · Greg KH

CONFIG_HOTPLUG is always enabled now, so that's not an option anymore. And again, a user can "hot unbind" a driver from a device from userspace, no matter if the bus physically supports it or not.

Which mailing list was this originally posted on? (I only have subscribed to netdev, and google has not indexed 000/493--001/493 yet.)

The announcement for this patchset was sent to lkml on Friday. I originally didn't have the patches themselves Cc'd to the various subsystems, so no one other than Greg got the patches themselves on Friday. I resent them with Cc's today.

Signature · 1 line
Bill
#115 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

In reply to Greg KH

Greg,

Quoted 11 lines
Quoted 7 lines

I have unconfused myself now, so please replace the above with the
following question: what about configurations (e.g. buses) that not support hotplug at all? For example apart from PCI the defxx driver concerned here supports the TURBOchannel bus that by design does not have the concept of live option card removal (no such circuitry). So should now the precious memory be wasted on systems that will never ever handle hotplug?

CONFIG_HOTPLUG is always enabled now, so that's not an option anymore. And again, a user can "hot unbind" a driver from a device from userspace, no matter if the bus physically supports it or not.

Hmm, what purpose does this serve for devices that cannot be physically
removed? If there is none, shouldn't that policy be set by individual drivers or platform even? Even if HOTPLUG as a whole is unconditional (I suppose the amount of space core support itself takes is much less to what driver code can).

TURBOchannel, although valid, is an old exotic case that might not be
worth arguing for, except for purity maybe. But there are surely many contemporary systems out there that are known they are never going to support hot device replacement. Consider most of the embedded systems for example, where devices may even physically be cast into a single SOC (with no prospect of chipping off any pieces ever ;) ), that certainly could not care less of device replacement, but they do care a lot about memory consumption.

Was this implication considered, discussed and diregarded as not
important enough compared to benefits from hardcoding HOTPLUG support? I'm seriously asking for a pointer, not trying to cause any stir-up -- regrettably I fail to follow most discussions these days, but I would like to know what the background behind this decision was. Thanks a lot!

Maciej

maintainer
#116 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 20 lines · Maciej W. Rozycki

Greg,

Quoted 11 lines
Quoted 7 lines

I have unconfused myself now, so please replace the above with the
following question: what about configurations (e.g. buses) that not support hotplug at all? For example apart from PCI the defxx driver concerned here supports the TURBOchannel bus that by design does not have the concept of live option card removal (no such circuitry). So should now the precious memory be wasted on systems that will never ever handle hotplug?

CONFIG_HOTPLUG is always enabled now, so that's not an option anymore. And again, a user can "hot unbind" a driver from a device from userspace, no matter if the bus physically supports it or not.

Hmm, what purpose does this serve for devices that cannot be physically
removed? If there is none, shouldn't that policy be set by individual drivers or platform even? Even if HOTPLUG as a whole is unconditional (I suppose the amount of space core support itself takes is much less to what driver code can).

Quoted 8 lines

TURBOchannel, although valid, is an old exotic case that might not be
worth arguing for, except for purity maybe. But there are surely many contemporary systems out there that are known they are never going to support hot device replacement. Consider most of the embedded systems for example, where devices may even physically be cast into a single SOC (with no prospect of chipping off any pieces ever ;) ), that certainly could not care less of device replacement, but they do care a lot about memory consumption.

Even those don't care about less than 5k of memory, do they?

Quoted 2 lines

Was this implication considered, discussed and diregarded as not
important enough compared to benefits from hardcoding HOTPLUG support?

Yes, I don't know of any modern system that does not enable CONFIG_HOTPLUG, do you?

Quoted 3 lines

I'm seriously asking for a pointer, not trying to cause any stir-up -- regrettably I fail to follow most discussions these days, but I would like to know what the background behind this decision was. Thanks a lot!

See Russell's response in this thread for details if you are curious.

thanks,

greg k-h

#117 lore raw

Re: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 10 lines · Greg KH
Quoted 8 lines

TURBOchannel, although valid, is an old exotic case that might not be
worth arguing for, except for purity maybe. But there are surely many contemporary systems out there that are known they are never going to support hot device replacement. Consider most of the embedded systems for example, where devices may even physically be cast into a single SOC (with no prospect of chipping off any pieces ever ;) ), that certainly could not care less of device replacement, but they do care a lot about memory consumption.

Even those don't care about less than 5k of memory, do they?

I guess you're right. As long as it's not 5k per driver +
who_knows_how_much per platform for some generic stuff that is. Of course this is still a waste, but I can accept it as a compromise between the use of machine resources and the cost of maintenance.

Quoted 5 lines
Quoted 2 lines

Was this implication considered, discussed and diregarded as not
important enough compared to benefits from hardcoding HOTPLUG support?

Yes, I don't know of any modern system that does not enable CONFIG_HOTPLUG, do you?

I've never enabled it outside x86 to be honest. None of the platforms I
care of supports it in hardware.

Quoted 5 lines
Quoted 3 lines

I'm seriously asking for a pointer, not trying to cause any stir-up -- regrettably I fail to follow most discussions these days, but I would like to know what the background behind this decision was. Thanks a lot!

See Russell's response in this thread for details if you are curious.

Hmm, not in my inbox for some reason (unless I'm blind), but thanks for
the pointer, I'll see if I can chase it online in some mailing list archive.

Maciej

#118 lore raw

RE: [PATCH 080/493] fddi: remove use of __devexit_p

Quoted 5 lines
Quoted 1 line

Even those don't care about less than 5k of memory, do they?

I guess you're right. As long as it's not 5k per driver +
who_knows_how_much per platform for some generic stuff that is. Of course this is still a waste, but I can accept it as a compromise between the use

If you are worried about that much memory (eg for a small embedded Linux) I'r worry about the sizes of all the hash tables that keep popping up. At least some of them really need converting to some kind of tree.

David

#119 lore raw

PATCH 81/493 hippi: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/hippi/rrunner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/hippi/rrunner.c +1 -1
index d471963..4802b46 100644
@@ -1681,7 +1681,7 @@ static struct pci_driver rr_driver = {
 	.name		= "rrunner",
 	.id_table	= rr_pci_tbl,
 	.probe		= rr_init_one,
-	.remove		= __devexit_p(rr_remove_one),
+	.remove		= rr_remove_one,
 };
 
 static int __init rr_init_module(void)
Signature · 1 line
1.8.0
#120 lore raw

PATCH 82/493 ieee802154: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/ieee802154/at86rf230.c | 2 +-
 drivers/net/ieee802154/fakehard.c  | 2 +-
 drivers/net/ieee802154/fakelb.c    | 2 +-
 drivers/net/ieee802154/mrf24j40.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/ieee802154/at86rf230.c +1 -1
index ba753d8..cbb08de 100644
@@ -947,7 +947,7 @@ static struct spi_driver at86rf230_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe      = at86rf230_probe,
-	.remove     = __devexit_p(at86rf230_remove),
+	.remove     = at86rf230_remove,
 	.suspend    = at86rf230_suspend,
 	.resume     = at86rf230_resume,
 };
drivers/net/ieee802154/fakehard.c +1 -1
index 7d39add..8c719e0 100644
@@ -423,7 +423,7 @@ static struct platform_device *ieee802154fake_dev;
 
 static struct platform_driver ieee802154fake_driver = {
 	.probe = ieee802154fake_probe,
-	.remove = __devexit_p(ieee802154fake_remove),
+	.remove = ieee802154fake_remove,
 	.driver = {
 			.name = "ieee802154hardmac",
 			.owner = THIS_MODULE,
drivers/net/ieee802154/fakelb.c +1 -1
index e7456fc..2d2e027 100644
@@ -269,7 +269,7 @@ static struct platform_device *ieee802154fake_dev;
 
 static struct platform_driver ieee802154fake_driver = {
 	.probe = fakelb_probe,
-	.remove = __devexit_p(fakelb_remove),
+	.remove = fakelb_remove,
 	.driver = {
 			.name = "ieee802154fakelb",
 			.owner = THIS_MODULE,
drivers/net/ieee802154/mrf24j40.c +1 -1
index ed75216..90b5467 100644
@@ -746,7 +746,7 @@ static struct spi_driver mrf24j40_driver = {
 	},
 	.id_table = mrf24j40_ids,
 	.probe = mrf24j40_probe,
-	.remove = __devexit_p(mrf24j40_remove),
+	.remove = mrf24j40_remove,
 };
 
 static int __init mrf24j40_init(void)
Signature · 1 line
1.8.0
#121 lore raw

PATCH 83/493 irda: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/irda/au1k_ir.c  | 2 +-
 drivers/net/irda/bfin_sir.c | 2 +-
 drivers/net/irda/sh_irda.c  | 2 +-
 drivers/net/irda/sh_sir.c   | 2 +-
 drivers/net/irda/via-ircc.c | 2 +-
 drivers/net/irda/vlsi_ir.c  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/irda/au1k_ir.c +1 -1
index e09417d..51bbc14 100644
@@ -949,7 +949,7 @@ static struct platform_driver au1k_irda_driver = {
 		.owner	= THIS_MODULE,
 	},
 	.probe		= au1k_irda_probe,
-	.remove		= __devexit_p(au1k_irda_remove),
+	.remove		= au1k_irda_remove,
 };
 
 static int __init au1k_irda_load(void)
drivers/net/irda/bfin_sir.c +1 -1
index c6a0299..a4d0dda 100644
@@ -798,7 +798,7 @@ static int __devexit bfin_sir_remove(struct platform_device *pdev)
 
 static struct platform_driver bfin_ir_driver = {
 	.probe   = bfin_sir_probe,
-	.remove  = __devexit_p(bfin_sir_remove),
+	.remove  = bfin_sir_remove,
 	.suspend = bfin_sir_suspend,
 	.resume  = bfin_sir_resume,
 	.driver  = {
drivers/net/irda/sh_irda.c +1 -1
index 945360a..a99127d 100644
@@ -862,7 +862,7 @@ static const struct dev_pm_ops sh_irda_pm_ops = {
 
 static struct platform_driver sh_irda_driver = {
 	.probe	= sh_irda_probe,
-	.remove	= __devexit_p(sh_irda_remove),
+	.remove	= sh_irda_remove,
 	.driver	= {
 		.name	= DRIVER_NAME,
 		.pm	= &sh_irda_pm_ops,
drivers/net/irda/sh_sir.c +1 -1
index 624ac19..1b31f16 100644
@@ -803,7 +803,7 @@ static int __devexit sh_sir_remove(struct platform_device *pdev)
 
 static struct platform_driver sh_sir_driver = {
 	.probe   = sh_sir_probe,
-	.remove  = __devexit_p(sh_sir_remove),
+	.remove  = sh_sir_remove,
 	.driver  = {
 		.name = DRIVER_NAME,
 	},
drivers/net/irda/via-ircc.c +1 -1
index 1a89fd4..1b5e27a 100644
@@ -132,7 +132,7 @@ static struct pci_driver via_driver = {
 	.name		= VIA_MODULE_NAME,
 	.id_table	= via_pci_tbl,
 	.probe		= via_init_one,
-	.remove		= __devexit_p(via_remove_one),
+	.remove		= via_remove_one,
 };
 
 
drivers/net/irda/vlsi_ir.c +1 -1
index 9021d01..931ef88 100644
@@ -1832,7 +1832,7 @@ static struct pci_driver vlsi_irda_driver = {
 	.name		= drivername,
 	.id_table	= vlsi_irda_table,
 	.probe		= vlsi_irda_probe,
-	.remove		= __devexit_p(vlsi_irda_remove),
+	.remove		= vlsi_irda_remove,
 #ifdef CONFIG_PM
 	.suspend	= vlsi_irda_suspend,
 	.resume		= vlsi_irda_resume,
Signature · 1 line
1.8.0
#122 lore raw

PATCH 84/493 phy: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

---
 drivers/net/phy/mdio-gpio.c        | 2 +-
 drivers/net/phy/mdio-mux-gpio.c    | 2 +-
 drivers/net/phy/mdio-mux-mmioreg.c | 2 +-
 drivers/net/phy/mdio-octeon.c      | 2 +-
 drivers/net/phy/spi_ks8995.c       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/net/phy/mdio-gpio.c +1 -1
index 899274f..8176bb1 100644
@@ -224,7 +224,7 @@ static struct of_device_id mdio_gpio_of_match[] = {
 
 static struct platform_driver mdio_gpio_driver = {
 	.probe = mdio_gpio_probe,
-	.remove = __devexit_p(mdio_gpio_remove),
+	.remove = mdio_gpio_remove,
 	.driver		= {
 		.name	= "mdio-gpio",
 		.owner	= THIS_MODULE,
drivers/net/phy/mdio-mux-gpio.c +1 -1
index eefe49e..a688bbf 100644
@@ -130,7 +130,7 @@ static struct platform_driver mdio_mux_gpio_driver = {
 		.of_match_table = mdio_mux_gpio_match,
 	},
 	.probe		= mdio_mux_gpio_probe,
-	.remove		= __devexit_p(mdio_mux_gpio_remove),
+	.remove		= mdio_mux_gpio_remove,
 };
 
 module_platform_driver(mdio_mux_gpio_driver);
drivers/net/phy/mdio-mux-mmioreg.c +1 -1
index 9061ba6..11235c4 100644
@@ -161,7 +161,7 @@ static struct platform_driver mdio_mux_mmioreg_driver = {
 		.of_match_table = mdio_mux_mmioreg_match,
 	},
 	.probe		= mdio_mux_mmioreg_probe,
-	.remove		= __devexit_p(mdio_mux_mmioreg_remove),
+	.remove		= mdio_mux_mmioreg_remove,
 };
 
 module_platform_driver(mdio_mux_mmioreg_driver);
drivers/net/phy/mdio-octeon.c +1 -1
index d4015aa..b201d5f 100644
@@ -188,7 +188,7 @@ static struct platform_driver octeon_mdiobus_driver = {
 		.of_match_table = octeon_mdiobus_match,
 	},
 	.probe		= octeon_mdiobus_probe,
-	.remove		= __devexit_p(octeon_mdiobus_remove),
+	.remove		= octeon_mdiobus_remove,
 };
 
 void octeon_mdiobus_force_mod_depencency(void)
drivers/net/phy/spi_ks8995.c +1 -1
index 1c3abce..eea7424 100644
@@ -353,7 +353,7 @@ static struct spi_driver ks8995_driver = {
 		.owner	   = THIS_MODULE,
 	},
 	.probe	  = ks8995_probe,
-	.remove	  = __devexit_p(ks8995_remove),
+	.remove	  = ks8995_remove,
 };
 
 static int __init ks8995_init(void)
Signature · 1 line
1.8.0
#123 lore raw

PATCH 86/493 net: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Rusty Russell <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Shreyas Bhatewara <[email protected]>
Cc "VMware, Inc." <[email protected]>
Cc Francois Romieu <[email protected]>
---
 drivers/net/virtio_net.c          | 2 +-
 drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-
 drivers/net/wan/dscc4.c           | 2 +-
 drivers/net/wan/farsync.c         | 2 +-
 drivers/net/wan/lmc/lmc_main.c    | 2 +-
 drivers/net/xen-netfront.c        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/virtio_net.c +1 -1
index 97f4ff8..b0c1630 100644
@@ -1285,7 +1285,7 @@ static struct virtio_driver virtio_net_driver = {
 	.driver.owner =	THIS_MODULE,
 	.id_table =	id_table,
 	.probe =	virtnet_probe,
-	.remove =	__devexit_p(virtnet_remove),
+	.remove =	virtnet_remove,
 	.config_changed = virtnet_config_changed,
 #ifdef CONFIG_PM
 	.freeze =	virtnet_freeze,
drivers/net/vmxnet3/vmxnet3_drv.c +1 -1
index 7e9622f..aa1bde8 100644
@@ -3302,7 +3302,7 @@ static struct pci_driver vmxnet3_driver = {
 	.name		= vmxnet3_driver_name,
 	.id_table	= vmxnet3_pciid_table,
 	.probe		= vmxnet3_probe_device,
-	.remove		= __devexit_p(vmxnet3_remove_device),
+	.remove		= vmxnet3_remove_device,
 #ifdef CONFIG_PM
 	.driver.pm	= &vmxnet3_pm_ops,
 #endif
drivers/net/wan/dscc4.c +1 -1
index ef36caf..2eddbbf 100644
@@ -2053,7 +2053,7 @@ static struct pci_driver dscc4_driver = {
 	.name		= DRV_NAME,
 	.id_table	= dscc4_pci_tbl,
 	.probe		= dscc4_init_one,
-	.remove		= __devexit_p(dscc4_remove_one),
+	.remove		= dscc4_remove_one,
 };
 
 module_pci_driver(dscc4_driver);
drivers/net/wan/farsync.c +1 -1
index b627132..0397544 100644
@@ -2652,7 +2652,7 @@ static struct pci_driver fst_driver = {
         .name		= FST_NAME,
         .id_table	= fst_pci_dev_id,
         .probe		= fst_add_one,
-        .remove	= __devexit_p(fst_remove_one),
+	.remove		= fst_remove_one,
         .suspend	= NULL,
         .resume	= NULL,
 };
drivers/net/wan/lmc/lmc_main.c +1 -1
index f5d533a..358e25f 100644
@@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = {
 	.name		= "lmc",
 	.id_table	= lmc_pci_tbl,
 	.probe		= lmc_init_one,
-	.remove		= __devexit_p(lmc_remove_one),
+	.remove		= lmc_remove_one,
 };
 
 module_pci_driver(lmc_driver);
drivers/net/xen-netfront.c +1 -1
index caa0110..3c3b93e 100644
@@ -1934,7 +1934,7 @@ static int __devexit xennet_remove(struct xenbus_device *dev)
 
 static DEFINE_XENBUS_DRIVER(netfront, ,
 	.probe = netfront_probe,
-	.remove = __devexit_p(xennet_remove),
+	.remove = xennet_remove,
 	.resume = netfront_resume,
 	.otherend_changed = netback_changed,
 );
Signature · 1 line
1.8.0
Acked-by on v1 86/493
#124 lore raw

Re: [Pv-drivers] [PATCH 086/493] net: remove use of __devexit_p

Quoted 12 lines · Bill Pemberton

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Rusty Russell <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Shreyas Bhatewara <[email protected]>
Cc "VMware, Inc." <[email protected]>
Cc Francois Romieu <[email protected]>
Quoted 3 lines
---
 drivers/net/virtio_net.c          | 2 +-
 drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-

For VMXNET3:

Thanks,
Dmitry

#125 lore raw

PATCH 86/493 net: remove use of __devexit_p

In reply to a message not in the archive

CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed.

Cc Rusty Russell <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Shreyas Bhatewara <[email protected]>
Cc "VMware, Inc." <[email protected]>
Cc Francois Romieu <[email protected]>
---
 drivers/net/virtio_net.c          | 2 +-
 drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-
 drivers/net/wan/dscc4.c           | 2 +-
 drivers/net/wan/farsync.c         | 2 +-
 drivers/net/wan/lmc/lmc_main.c    | 2 +-
 drivers/net/xen-netfront.c        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/virtio_net.c +1 -1
index 97f4ff8..b0c1630 100644
@@ -1285,7 +1285,7 @@ static struct virtio_driver virtio_net_driver = {
 	.driver.owner =	THIS_MODULE,
 	.id_table =	id_table,
 	.probe =	virtnet_probe,
-	.remove =	__devexit_p(virtnet_remove),
+	.remove =	virtnet_remove,
 	.config_changed = virtnet_config_changed,
 #ifdef CONFIG_PM
 	.freeze =	virtnet_freeze,
drivers/net/vmxnet3/vmxnet3_drv.c +1 -1
index 7e9622f..aa1bde8 100644
@@ -3302,7 +3302,7 @@ static struct pci_driver vmxnet3_driver = {
 	.name		= vmxnet3_driver_name,
 	.id_table	= vmxnet3_pciid_table,
 	.probe		= vmxnet3_probe_device,
-	.remove		= __devexit_p(vmxnet3_remove_device),
+	.remove		= vmxnet3_remove_device,
 #ifdef CONFIG_PM
 	.driver.pm	= &vmxnet3_pm_ops,
 #endif
drivers/net/wan/dscc4.c +1 -1
index ef36caf..2eddbbf 100644
@@ -2053,7 +2053,7 @@ static struct pci_driver dscc4_driver = {
 	.name		= DRV_NAME,
 	.id_table	= dscc4_pci_tbl,
 	.probe		= dscc4_init_one,
-	.remove		= __devexit_p(dscc4_remove_one),
+	.remove		= dscc4_remove_one,
 };
 
 module_pci_driver(dscc4_driver);
drivers/net/wan/farsync.c +1 -1
index b627132..0397544 100644
@@ -2652,7 +2652,7 @@ static struct pci_driver fst_driver = {
         .name		= FST_NAME,
         .id_table	= fst_pci_dev_id,
         .probe		= fst_add_one,
-        .remove	= __devexit_p(fst_remove_one),
+	.remove		= fst_remove_one,
         .suspend	= NULL,
         .resume	= NULL,
 };
drivers/net/wan/lmc/lmc_main.c +1 -1
index f5d533a..358e25f 100644
@@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = {
 	.name		= "lmc",
 	.id_table	= lmc_pci_tbl,
 	.probe		= lmc_init_one,
-	.remove		= __devexit_p(lmc_remove_one),
+	.remove		= lmc_remove_one,
 };
 
 module_pci_driver(lmc_driver);
drivers/net/xen-netfront.c +1 -1
index caa0110..3c3b93e 100644
@@ -1934,7 +1934,7 @@ static int __devexit xennet_remove(struct xenbus_device *dev)
 
 static DEFINE_XENBUS_DRIVER(netfront, ,
 	.probe = netfront_probe,
-	.remove = __devexit_p(xennet_remove),
+	.remove = xennet_remove,
 	.resume = netfront_resume,
 	.otherend_changed = netback_changed,
 );
Signature · 1 line
1.8.0