Skip to contentSkip to conversation

move asic3_remove to .devexit.text

PATCH Applied Uwe Kleine-König 13 participants 53 messages Nov 24, 2009 – Dec 3, 2009

Subsystems (25)
lore
Share & tools
lore
#0 lore raw

PATCH 1/38 move asic3_remove to .devexit.text

The function asic3_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/mfd/asic3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/asic3.c +1 -1
index 63a2a66..e22128c 100644
@@ -908,7 +908,7 @@ static int __init asic3_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static int asic3_remove(struct platform_device *pdev)
+static int __devexit asic3_remove(struct platform_device *pdev)
 {
 	int ret;
 	struct asic3 *asic = platform_get_drvdata(pdev);
Signature · 1 line
1.6.5.2
#1 lore raw

PATCH 2/38 move atp870u_remove to .devexit.text

The function atp870u_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/scsi/atp870u.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/atp870u.c +1 -1
index b137e56..1059167 100644
@@ -3143,7 +3143,7 @@ static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev,
 	return 0;
 }
 
-static void atp870u_remove (struct pci_dev *pdev)
+static void __devexit atp870u_remove (struct pci_dev *pdev)
 {	
 	struct atp_unit *devext = pci_get_drvdata(pdev);
 	struct Scsi_Host *pshost = devext->host;
Signature · 6 lines
1.6.5.2

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

PATCH 3/38 move excite_nand_remove to .devexit.text

The function excite_nand_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Ming Lei <[email protected]>
Cc Henrique de Moraes Holschuh <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc David Brownell <[email protected]>
Cc David Woodhouse <[email protected]>
---
 drivers/mtd/nand/excite_nandflash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/excite_nandflash.c +1 -1
index 72446fb..af6a6a5 100644
@@ -128,7 +128,7 @@ static int excite_nand_devready(struct mtd_info *mtd)
  * The binding to the mtd and all allocated
  * resources are released.
  */
-static int __exit excite_nand_remove(struct platform_device *dev)
+static int __devexit excite_nand_remove(struct platform_device *dev)
 {
 	struct excite_nand_drvdata * const this = platform_get_drvdata(dev);
 
Signature · 1 line
1.6.5.2
#3 lore raw

PATCH 4/38 move ilo_remove to .devexit.text

The function ilo_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/misc/hpilo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/misc/hpilo.c +1 -1
index a92a3a7..487e603 100644
@@ -716,7 +716,7 @@ out:
 	return error;
 }
 
-static void ilo_remove(struct pci_dev *pdev)
+static void __devexit ilo_remove(struct pci_dev *pdev)
 {
 	int i, minor;
 	struct ilo_hwinfo *ilo_hw = pci_get_drvdata(pdev);
Signature · 1 line
1.6.5.2
#4 lore raw

PATCH 5/38 move initio_remove_one to .devexit.text

The function initio_remove_one is used only wrapped by __devexit_p so define it using __devexit.

Cc James E.J. Bottomley <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc James Bottomley <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Alan Cox <[email protected]>
Cc Alan Cox <[email protected]>
---
 drivers/scsi/initio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/initio.c +1 -1
index 89a5948..8bbfd99 100644
@@ -2964,7 +2964,7 @@ out_disable_device:
  *	finished being used.
  */
 
-static void initio_remove_one(struct pci_dev *pdev)
+static void __devexit initio_remove_one(struct pci_dev *pdev)
 {
 	struct Scsi_Host *host = pci_get_drvdata(pdev);
 	struct initio_host *s = (struct initio_host *)host->hostdata;
Signature · 6 lines
1.6.5.2

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

PATCH 6/38 move iodev_remove to .devexit.text

The function iodev_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Ming Lei <[email protected]>
Cc Henrique de Moraes Holschuh <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc David Brownell <[email protected]>
Cc Ralf Baechle <[email protected]>
---
 arch/mips/basler/excite/excite_iodev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/basler/excite/excite_iodev.c +2 -2
index 938b1d0..733b242 100644
@@ -34,7 +34,7 @@
 
 static const struct resource *iodev_get_resource(struct platform_device *, const char *, unsigned int);
 static int __init iodev_probe(struct platform_device *);
-static int __exit iodev_remove(struct platform_device *);
+static int __devexit iodev_remove(struct platform_device *);
 static int iodev_open(struct inode *, struct file *);
 static int iodev_release(struct inode *, struct file *);
 static ssize_t iodev_read(struct file *, char __user *, size_t s, loff_t *);
@@ -103,7 +103,7 @@ static int __init iodev_probe(struct platform_device *dev)
 
 
 
-static int __exit iodev_remove(struct platform_device *dev)
+static int __devexit iodev_remove(struct platform_device *dev)
 {
 	return misc_deregister(&miscdev);
 }
Signature · 1 line
1.6.5.2
#6 lore raw

PATCH 7/38 move lasi700_driver_remove to .devexit.text

The function lasi700_driver_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc James E.J. Bottomley <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc Kyle McMartin <[email protected]>
Cc Kay Sievers <[email protected]>
Cc James Bottomley <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Helge Deller <[email protected]>
---
 drivers/scsi/lasi700.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/lasi700.c +1 -1
index b3d3131..a192914 100644
@@ -147,7 +147,7 @@ lasi700_probe(struct parisc_device *dev)
 	return -ENODEV;
 }
 
-static int __exit
+static int __devexit
 lasi700_driver_remove(struct parisc_device *dev)
 {
 	struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
Signature · 1 line
1.6.5.2
#7 lore raw

PATCH 8/38 move mcf_remove to .devexit.text

The function mcf_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Greg Ungerer <[email protected]>
Cc Len Sorensen <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Alan Cox <[email protected]>
---
 drivers/serial/mcf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/mcf.c +1 -1
index b443824..7bb5fee 100644
@@ -602,7 +602,7 @@ static int __devinit mcf_probe(struct platform_device *pdev)
 
 /****************************************************************************/
 
-static int mcf_remove(struct platform_device *pdev)
+static int __devexit mcf_remove(struct platform_device *pdev)
 {
 	struct uart_port *port;
 	int i;
Signature · 1 line
1.6.5.2
#8 lore raw

PATCH 9/38 move megaraid_detach_one to .devexit.text

The function megaraid_detach_one is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/scsi/megaraid/megaraid_mbox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/megaraid/megaraid_mbox.c +2 -2
index 234f0b7..9fc9cf7 100644
@@ -76,7 +76,7 @@ static int megaraid_init(void);
 static void megaraid_exit(void);
 
 static int megaraid_probe_one(struct pci_dev*, const struct pci_device_id *);
-static void megaraid_detach_one(struct pci_dev *);
+static void __devexit megaraid_detach_one(struct pci_dev *);
 static void megaraid_mbox_shutdown(struct pci_dev *);
 
 static int megaraid_io_attach(adapter_t *);
@@ -551,7 +551,7 @@ out_probe_one:
  *
  * This routine is also called from the PCI hotplug system.
  */
-static void
+static void __devexit
 megaraid_detach_one(struct pci_dev *pdev)
 {
 	adapter_t		*adapter;
Signature · 1 line
1.6.5.2
#9 lore raw

PATCH 10/38 don't wrap mlx4_remove_one in __devexit_p

The function mlx4_remove_one is defined in .text, so there is no need to wrap it with __devexit_p.

Cc Roland Dreier <[email protected]>
Cc Yevgeny Petrilin <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc Jack Morgenstein <[email protected]>
Cc Eli Cohen <[email protected]>
Cc Andrew Morton <[email protected]>
---
 drivers/net/mlx4/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/main.c +1 -1
index 291a505..a581860 100644
@@ -1293,7 +1293,7 @@ static struct pci_driver mlx4_driver = {
 	.name		= DRV_NAME,
 	.id_table	= mlx4_pci_table,
 	.probe		= mlx4_init_one,
-	.remove		= __devexit_p(mlx4_remove_one)
+	.remove		= mlx4_remove_one
 };
 
 static int __init mlx4_verify_params(void)
Signature · 1 line
1.6.5.2
#10 lore raw

PATCH 11/38 move mpc85xx_pci_err_remove to .devexit.text

The function mpc85xx_pci_err_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/edac/mpc85xx_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/edac/mpc85xx_edac.c +1 -1
index cf27402..72b06c0 100644
@@ -306,7 +306,7 @@ err:
 	return res;
 }
 
-static int mpc85xx_pci_err_remove(struct of_device *op)
+static int __devexit mpc85xx_pci_err_remove(struct of_device *op)
 {
 	struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev);
 	struct mpc85xx_pci_pdata *pdata = pci->pvt_info;
Signature · 1 line
1.6.5.2
#11 lore raw

PATCH 12/38 move mv64x60_pci_err_remove to .devexit.text

The function mv64x60_pci_err_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Kay Sievers <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Doug Thompson <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Julia Lawall <[email protected]>
---
 drivers/edac/mv64x60_edac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/edac/mv64x60_edac.c +1 -1
index a6b9fec..ed25d73 100644
@@ -206,7 +206,7 @@ err:
 	return res;
 }
 
-static int mv64x60_pci_err_remove(struct platform_device *pdev)
+static int __devexit mv64x60_pci_err_remove(struct platform_device *pdev)
 {
 	struct edac_pci_ctl_info *pci = platform_get_drvdata(pdev);
 
Signature · 1 line
1.6.5.2
#12 lore raw

PATCH 13/38 don't use __exit_p to wrap mxcnd_remove

The function mxcnd_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

Cc David Woodhouse <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Artem Bityutskiy <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Vladimir Barinov <[email protected]>
Cc Vladimir Barinov <[email protected]>
Cc Eric Benard <[email protected]>
---
 drivers/mtd/nand/mxc_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/mxc_nand.c +1 -1
index 65b26d5..661d46a 100644
@@ -1113,7 +1113,7 @@ static struct platform_driver mxcnd_driver = {
 	.driver = {
 		   .name = DRIVER_NAME,
 		   },
-	.remove = __exit_p(mxcnd_remove),
+	.remove = __devexit_p(mxcnd_remove),
 	.suspend = mxcnd_suspend,
 	.resume = mxcnd_resume,
 };
Signature · 1 line
1.6.5.2
#13 lore raw

PATCH 14/38 move NCR_Q720_remove to .devexit.text

The function NCR_Q720_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/scsi/NCR_Q720.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/NCR_Q720.c +1 -1
index a8bbdc2..1a398a8 100644
@@ -325,7 +325,7 @@ NCR_Q720_remove_one(struct Scsi_Host *host)
 	ncr53c8xx_release(host);
 }
 
-static int __exit
+static int __devexit
 NCR_Q720_remove(struct device *dev)
 {
 	struct NCR_Q720_private *p = dev_get_drvdata(dev);
Signature · 6 lines
1.6.5.2

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

PATCH 15/38 move s3c_adc_remove to .devexit.text

The function s3c_adc_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Russell King <[email protected]>
Cc Ramax Lo <[email protected]>
Cc Nelson Castillo <[email protected]>
Cc linux-kernel at vger.kernel.org
Cc Ben Dooks <[email protected]>
Cc Alexey Dobriyan <[email protected]>
Cc Ryan Mallon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
---
 arch/arm/plat-s3c24xx/adc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c24xx/adc.c +1 -1
index df47322..ce47627 100644
@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static int s3c_adc_remove(struct platform_device *pdev)
+static int __devexit s3c_adc_remove(struct platform_device *pdev)
 {
 	struct adc_device *adc = platform_get_drvdata(pdev);
 
Signature · 1 line
1.6.5.2
#15 lore raw

PATCH 16/38 move s3c_pwm_remove to .devexit.text

The function s3c_pwm_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Russell King <[email protected]>
Cc Ben Dooks <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc linux-kernel at vger.kernel.org
Cc linux-arm-kernel at lists.infradead.org
---
 arch/arm/plat-s3c/pwm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c/pwm.c +1 -1
index 4fdc5b3..ef019f2 100644
@@ -368,7 +368,7 @@ static int s3c_pwm_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static int s3c_pwm_remove(struct platform_device *pdev)
+static int __devexit s3c_pwm_remove(struct platform_device *pdev)
 {
 	struct pwm_device *pwm = platform_get_drvdata(pdev);
 
Signature · 1 line
1.6.5.2
#16 lore raw

PATCH 17/38 move sc26xx_driver_remove to .devexit.text

The function sc26xx_driver_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/serial/sc26xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/sc26xx.c +1 -1
index 75038ad..ca9bddc 100644
@@ -709,7 +709,7 @@ out_free_port:
 }
 
 
-static int __exit sc26xx_driver_remove(struct platform_device *dev)
+static int __devexit sc26xx_driver_remove(struct platform_device *dev)
 {
 	struct uart_sc26xx_port *up = dev_get_drvdata(&dev->dev);
 
Signature · 1 line
1.6.5.2
#17 lore raw

PATCH 18/38 move sgiwd93_remove to .devexit.text

The function sgiwd93_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc James E.J. Bottomley <[email protected]>
Cc James Bottomley <[email protected]>
Cc Dmitri Vorobiev <[email protected]>
---
 drivers/scsi/sgiwd93.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/sgiwd93.c +1 -1
index 0807b26..4f33f7a 100644
@@ -297,7 +297,7 @@ out:
 	return err;
 }
 
-static int __exit sgiwd93_remove(struct platform_device *pdev)
+static int __devexit sgiwd93_remove(struct platform_device *pdev)
 {
 	struct Scsi_Host *host = platform_get_drvdata(pdev);
 	struct ip22_hostdata *hdata = (struct ip22_hostdata *) host->hostdata;
Signature · 6 lines
1.6.5.2

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

PATCH 19/38 move snirm710_driver_remove to .devexit.text

The function snirm710_driver_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc James E.J. Bottomley <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc Kay Sievers <[email protected]>
Cc James Bottomley <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Andrew Morton <[email protected]>
---
 drivers/scsi/sni_53c710.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/sni_53c710.c +1 -1
index 37b3359..c941a00 100644
@@ -116,7 +116,7 @@ static int __init snirm710_probe(struct platform_device *dev)
 	return -ENODEV;
 }
 
-static int __exit snirm710_driver_remove(struct platform_device *dev)
+static int __devexit snirm710_driver_remove(struct platform_device *dev)
 {
 	struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
 	struct NCR_700_Host_Parameters *hostdata =
Signature · 1 line
1.6.5.2
#19 lore raw

PATCH 20/38 move spidev_remove to .devexit.text

The function spidev_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc David Brownell <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Wolfgang Ocker <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Mike Frysinger <[email protected]>
Cc Alexey Dobriyan <[email protected]>
---
 drivers/spi/spidev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spidev.c +1 -1
index 5d23983..5471bfc 100644
@@ -610,7 +610,7 @@ static int spidev_probe(struct spi_device *spi)
 	return status;
 }
 
-static int spidev_remove(struct spi_device *spi)
+static int __devexit spidev_remove(struct spi_device *spi)
 {
 	struct spidev_data	*spidev = spi_get_drvdata(spi);
 
Signature · 12 lines
1.6.5.2


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
#20 lore raw

PATCH 21/38 move stex_remove to .devexit.text

The function stex_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Willem Riede <[email protected]>
Cc James E.J. Bottomley <[email protected]>
Cc "Kai Mäkisara" <[email protected]>
Cc James Bottomley <[email protected]>
Cc Ed Lin <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc Andrew Morton <[email protected]>
---
 drivers/scsi/stex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/stex.c +1 -1
index 09fa886..09ee386 100644
@@ -1679,7 +1679,7 @@ static void stex_hba_free(struct st_hba *hba)
 			  hba->dma_mem, hba->dma_handle);
 }
 
-static void stex_remove(struct pci_dev *pdev)
+static void __devexit stex_remove(struct pci_dev *pdev)
 {
 	struct st_hba *hba = pci_get_drvdata(pdev);
 
Signature · 6 lines
1.6.5.2

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

PATCH 22/38 move vhci_hcd_remove to .devexit.text

The function vhci_hcd_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/staging/usbip/vhci_hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/usbip/vhci_hcd.c +1 -1
index 6e91fc2..22b1c6c 100644
@@ -1131,7 +1131,7 @@ static int vhci_hcd_probe(struct platform_device *pdev)
 }
 
 
-static int vhci_hcd_remove(struct platform_device *pdev)
+static int __devexit vhci_hcd_remove(struct platform_device *pdev)
 {
 	struct usb_hcd	*hcd;
 
Signature · 1 line
1.6.5.2
#22 lore raw

PATCH 23/38 move zalon_remove to .devexit.text

The function zalon_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc James E.J. Bottomley <[email protected]>
Cc James Bottomley <[email protected]>
Cc Kyle McMartin <[email protected]>
Cc Kay Sievers <[email protected]>
Cc Helge Deller <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/scsi/zalon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/zalon.c +1 -1
index 27e84e4..1f8c03d 100644
@@ -167,7 +167,7 @@ static struct parisc_device_id zalon_tbl[] = {
 
 MODULE_DEVICE_TABLE(parisc, zalon_tbl);
 
-static int __exit zalon_remove(struct parisc_device *dev)
+static int __devexit zalon_remove(struct parisc_device *dev)
 {
 	struct Scsi_Host *host = dev_get_drvdata(&dev->dev);
 
Signature · 6 lines
1.6.5.2

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

PATCH 24/38 move lis3l02dq_remove to .devexit.text

The function lis3l02dq_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/staging/iio/accel/lis3l02dq_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/iio/accel/lis3l02dq_core.c +1 -1
index f008837..80e89a6 100644
@@ -871,7 +871,7 @@ err_ret:
 }
 
 /* fixme, confirm ordering in this function */
-static int lis3l02dq_remove(struct spi_device *spi)
+static int __devexit lis3l02dq_remove(struct spi_device *spi)
 {
 	int ret;
 	struct lis3l02dq_state *st = spi_get_drvdata(spi);
Signature · 1 line
1.6.5.2
#24 lore raw

PATCH 25/38 move sca3000_remove to .devexit.text

The function sca3000_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/staging/iio/accel/sca3000_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/iio/accel/sca3000_core.c +1 -1
index e27e3b7..5ea736a 100644
@@ -1393,7 +1393,7 @@ error_ret:
 
 }
 
-static int sca3000_remove(struct spi_device *spi)
+static int __devexit sca3000_remove(struct spi_device *spi)
 {
 	struct sca3000_state *st =  spi_get_drvdata(spi);
 	struct iio_dev *indio_dev = st->indio_dev;
Signature · 1 line
1.6.5.2
#25 lore raw

PATCH 26/38 move vlynq_remove to .devexit.text

The function vlynq_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Andrew Morton <[email protected]>
Cc Florian Fainelli <[email protected]>
Cc Eugene Konev <[email protected]>
Cc Julia Lawall <[email protected]>
Cc Robert P. J. Day <[email protected]>
---
 drivers/vlynq/vlynq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/vlynq/vlynq.c +1 -1
index 9554ad5..3ae6e86 100644
@@ -756,7 +756,7 @@ fail_request:
 	return result;
 }
 
-static int vlynq_remove(struct platform_device *pdev)
+static int __devexit vlynq_remove(struct platform_device *pdev)
 {
 	struct vlynq_device *dev = platform_get_drvdata(pdev);
 
Signature · 1 line
1.6.5.2
#26 lore raw

PATCH 27/38 move bfad_pci_remove to .devexit.text

The function bfad_pci_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/scsi/bfa/bfad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/bfa/bfad.c +1 -1
index 6f2be5a..c4d3c91 100644
@@ -1000,7 +1000,7 @@ out:
 /**
  * PCI remove entry.
  */
-void
+void __devexit
 bfad_pci_remove(struct pci_dev *pdev)
 {
 	struct bfad_s  *bfad = pci_get_drvdata(pdev);
Signature · 1 line
1.6.5.2
#27 lore raw

PATCH 28/38 don't use __exit_p to wrap ds1302_rtc_remove

The function ds1302_rtc_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

---
 drivers/rtc/rtc-ds1302.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-ds1302.c +1 -1
index d490628..1e73c8f 100644
@@ -201,7 +201,7 @@ static struct platform_driver ds1302_platform_driver = {
 		.name	= DRV_NAME,
 		.owner	= THIS_MODULE,
 	},
-	.remove		= __exit_p(ds1302_rtc_remove),
+	.remove		= __devexit_p(ds1302_rtc_remove),
 };
 
 static int __init ds1302_rtc_init(void)
Signature · 1 line
1.6.5.2
#28 lore raw

PATCH 29/38 move mc33880_remove to .devexit.text

The function mc33880_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/gpio/mc33880.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpio/mc33880.c +1 -1
index e7d01bd..6e82bc6 100644
@@ -145,7 +145,7 @@ exit_destroy:
 	return ret;
 }
 
-static int mc33880_remove(struct spi_device *spi)
+static int __devexit mc33880_remove(struct spi_device *spi)
 {
 	struct mc33880 *mc;
 	int ret;
Signature · 1 line
1.6.5.2
#29 lore raw

PATCH 30/38 move mipid_spi_remove to .devexit.text

The function mipid_spi_remove is used only wrapped by __devexit_p so define it using __devexit.

---
 drivers/video/omap/lcd_mipid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/omap/lcd_mipid.c +1 -1
index 918ee89..24889ca 100644
@@ -587,7 +587,7 @@ static int mipid_spi_probe(struct spi_device *spi)
 	return 0;
 }
 
-static int mipid_spi_remove(struct spi_device *spi)
+static int __devexit mipid_spi_remove(struct spi_device *spi)
 {
 	struct mipid_device *md = dev_get_drvdata(&spi->dev);
 
Signature · 12 lines
1.6.5.2


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
#30 lore raw

PATCH 31/38 move pcf2123_remove to .devexit.text

The function pcf2123_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Andrew Morton <[email protected]>
Cc Christian Pellegrin <[email protected]>
Cc Chris Verges <[email protected]>
Cc Alessandro Zummo <[email protected]>
Cc Paul Gortmaker <[email protected]>
---
 drivers/rtc/rtc-pcf2123.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-pcf2123.c +1 -1
index e75df9d..2ceb365 100644
@@ -315,7 +315,7 @@ kfree_exit:
 	return ret;
 }
 
-static int pcf2123_remove(struct spi_device *spi)
+static int __devexit pcf2123_remove(struct spi_device *spi)
 {
 	struct pcf2123_plat_data *pdata = spi->dev.platform_data;
 	int i;
Signature · 1 line
1.6.5.2
#31 lore raw

PATCH 32/38 don't use __exit_p to wrap plat_mpc8xxx_spi_remove

The function plat_mpc8xxx_spi_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

---
 drivers/spi/spi_mpc8xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spi_mpc8xxx.c +1 -1
index 0fd0ec4..1d98be9 100644
@@ -900,7 +900,7 @@ static int __devexit plat_mpc8xxx_spi_remove(struct platform_device *pdev)
 MODULE_ALIAS("platform:mpc8xxx_spi");
 static struct platform_driver mpc8xxx_spi_driver = {
 	.probe = plat_mpc8xxx_spi_probe,
-	.remove = __exit_p(plat_mpc8xxx_spi_remove),
+	.remove = __devexit_p(plat_mpc8xxx_spi_remove),
 	.driver = {
 		.name = "mpc8xxx_spi",
 		.owner = THIS_MODULE,
Signature · 12 lines
1.6.5.2


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
#32 lore raw

PATCH 33/38 don't use __exit_p to wrap sh_mobile_ceu_remove

The function sh_mobile_ceu_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

Cc Mauro Carvalho Chehab <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Magnus Damm <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/video/sh_mobile_ceu_camera.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/sh_mobile_ceu_camera.c +1 -1
index 2f78b4f..e3e1ef2 100644
@@ -1778,7 +1778,7 @@ static struct platform_driver sh_mobile_ceu_driver = {
 		.pm	= &sh_mobile_ceu_dev_pm_ops,
 	},
 	.probe		= sh_mobile_ceu_probe,
-	.remove		= __exit_p(sh_mobile_ceu_remove),
+	.remove		= __devexit_p(sh_mobile_ceu_remove),
 };
 
 static int __init sh_mobile_ceu_init(void)
Signature · 1 line
1.6.5.2
#33 lore raw

PATCH 34/38 move vpfe_remove to .devexit.text

The function vpfe_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Laurent Pinchart <[email protected]>
Cc Alexey Klimov <[email protected]>
Cc Muralidharan Karicheri <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/video/davinci/vpfe_capture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpfe_capture.c +1 -1
index 402ce43..902c59c 100644
@@ -2054,7 +2054,7 @@ probe_free_dev_mem:
 /*
  * vpfe_remove : It un-register device from V4L2 driver
  */
-static int vpfe_remove(struct platform_device *pdev)
+static int __devexit vpfe_remove(struct platform_device *pdev)
 {
 	struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev);
 	struct resource *res;
Signature · 1 line
1.6.5.2
#34 lore raw

PATCH 35/38 move vpif_remove to .devexit.text

The function vpif_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Mauro Carvalho Chehab <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Manjunath Hadli <[email protected]>
Cc Chaithrika U S <[email protected]>
Cc Muralidharan Karicheri <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/video/davinci/vpif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpif.c +1 -1
index 3b8eac3..1f532e3 100644
@@ -266,7 +266,7 @@ fail:
 	return status;
 }
 
-static int vpif_remove(struct platform_device *pdev)
+static int __devexit vpif_remove(struct platform_device *pdev)
 {
 	iounmap(vpif_base);
 	release_mem_region(res->start, res_len);
Signature · 1 line
1.6.5.2
#35 lore raw

PATCH 36/38 move vpss_remove to .devexit.text

The function vpss_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Hans Verkuil <[email protected]>
Cc Laurent Pinchart <[email protected]>
Cc Alexey Klimov <[email protected]>
Cc Muralidharan Karicheri <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/video/davinci/vpss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpss.c +1 -1
index 6d709ca..ed0472f 100644
@@ -268,7 +268,7 @@ fail1:
 	return status;
 }
 
-static int vpss_remove(struct platform_device *pdev)
+static int __devexit vpss_remove(struct platform_device *pdev)
 {
 	iounmap(oper_cfg.vpss_bl_regs_base);
 	release_mem_region(oper_cfg.r1->start, oper_cfg.len1);
Signature · 1 line
1.6.5.2
#36 lore raw

PATCH 37/38 don't use __devexit_p to wrap sci_remove

The function sci_remove is defined without any section modifier, so don't use __devexit_p to wrap it.

---
 drivers/serial/sh-sci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/sh-sci.c +1 -1
index 6498bd1..89421fa 100644
@@ -1370,7 +1370,7 @@ static struct dev_pm_ops sci_dev_pm_ops = {
 
 static struct platform_driver sci_driver = {
 	.probe		= sci_probe,
-	.remove		= __devexit_p(sci_remove),
+	.remove		= sci_remove,
 	.driver		= {
 		.name	= "sh-sci",
 		.owner	= THIS_MODULE,
Signature · 1 line
1.6.5.2
#37 lore raw

PATCH 38/38 don't use __exit_p to wrap composite_unbind

The function composite_unbind is defined without any section modifier, so don't use __exit_p to wrap it.

Cc Greg Kroah-Hartman <[email protected]>
Cc David Brownell <[email protected]>
Cc Bryan Wu <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Felipe Balbi <[email protected]>
---
 drivers/usb/gadget/composite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/gadget/composite.c +1 -1
index d05397e..c9d6833 100644
@@ -1054,7 +1054,7 @@ static struct usb_gadget_driver composite_driver = {
 	.speed		= USB_SPEED_HIGH,
 
 	.bind		= composite_bind,
-	.unbind		= __exit_p(composite_unbind),
+	.unbind		= composite_unbind,
 
 	.setup		= composite_setup,
 	.disconnect	= composite_disconnect,
Signature · 1 line
1.6.5.2
Applied
#38 lore raw

Re: [PATCH 28/38] don't use __exit_p to wrap ds1302_rtc_remove

In reply to Uwe Kleine-König
Quoted 9 lines · Uwe Kleine-K??nig

The function ds1302_rtc_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

Quoted 7 lines · Uwe Kleine-K??nig

The function sci_remove is defined without any section modifier, so don't use __devexit_p to wrap it.

I've applied both of these, thanks.

Acked-by on v1 32/38
#39 lore raw

Re: [PATCH 32/38] don't use __exit_p to wrap plat_mpc8xxx_spi_remove

In reply to Uwe Kleine-König

2009/11/24 Uwe Kleine-König <[email protected]>:

Quoted 4 lines

The function plat_mpc8xxx_spi_remove is defined using __devexit, so don't use __exit_p but __devexit_p to wrap it.

Obviously correct.

g.

Quoted 29 lines
Cc Andrew Morton <akpm-de/[email protected]>
Cc Kumar Gala <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc devicetree-discuss-uLR06cmDAlY/[email protected]
Cc David Brownell <[email protected]>
Cc spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

---
 drivers/spi/spi_mpc8xxx.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spi_mpc8xxx.c +1 -2
index 0fd0ec4..1d98be9 100644
@@ -900,7 +900,7 @@ static int __devexit plat_mpc8xxx_spi_remove(struct platform_device *pdev)
  MODULE_ALIAS("platform:mpc8xxx_spi");
  static struct platform_driver mpc8xxx_spi_driver = {
        .probe = plat_mpc8xxx_spi_probe,
-       .remove = __exit_p(plat_mpc8xxx_spi_remove),
+       .remove = __devexit_p(plat_mpc8xxx_spi_remove),
        .driver = {
                .name = "mpc8xxx_spi",
                .owner = THIS_MODULE,
--

1.6.5.2

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#41 lore raw

Re: [PATCH 20/38] move spidev_remove to .devexit.text

In reply to Uwe Kleine-König

2009/11/24 Uwe Kleine-König

Quoted 2 lines

The function spidev_remove is used only wrapped by __devexit_p so define it using __devexit.

this doesnt go far enough to address actual section mismatch issues in the driver. i posted a more complete one here:
http://lkml.org/lkml/2009/10/13/76

and akpm has picked that up
-mike

Acked-by on v1 16/38
#42 lore raw

Re: [PATCH 16/38] move s3c_pwm_remove to .devexit.text

In reply to Uwe Kleine-König
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Uwe" == Uwe Kleine-K?nig <[email protected]> writes:

Uwe> The function s3c_pwm_remove is used only wrapped by __devexit_p so define Uwe> it using __devexit.

Uwe> Signed-off-by: Uwe Kleine-K?nig <[email protected]> Uwe> Acked-by: Sam Ravnborg <[email protected]>

Signature · 1 line
Bye, Peter Korsgaard
#43 lore raw

Re: [PATCH 15/38] move s3c_adc_remove to .devexit.text

In reply to Uwe Kleine-König
Quoted 2 lines · Uwe Kleine-K?nig

The function s3c_adc_remove is used only wrapped by __devexit_p so define it using __devexit.

Shall I put these into my tree?

Quoted 36 lines
Cc Russell King <[email protected]>
Cc Ramax Lo <[email protected]>
Cc Nelson Castillo <[email protected]>
Cc linux-kernel at vger.kernel.org
Cc Ben Dooks <[email protected]>
Cc Alexey Dobriyan <[email protected]>
Cc Ryan Mallon <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
---
 arch/arm/plat-s3c24xx/adc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c24xx/adc.c +1 -1
index df47322..ce47627 100644
@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static int s3c_adc_remove(struct platform_device *pdev)
+static int __devexit s3c_adc_remove(struct platform_device *pdev)
 {
 	struct adc_device *adc = platform_get_drvdata(pdev);
 
Signature · 7 lines
1.6.5.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
#44 lore raw

Re: [PATCH 15/38] move s3c_adc_remove to .devexit.text

Hi Ben,

Quoted 5 lines · Ben Dooks
Quoted 2 lines · Uwe Kleine-König

The function s3c_adc_remove is used only wrapped by __devexit_p so define it using __devexit.

Shall I put these into my tree?

Yes, I think your's is the right one.

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
#45 lore raw

Re: [PATCH 10/38] don't wrap mlx4_remove_one in __devexit_p

In reply to Uwe Kleine-König

drivers/net/mlx4/main.c static struct pci_driver mlx4_driver = { · line 1297

Quoted 11 lines · Uwe Kleine-König
drivers/net/mlx4/main.c +1 -1
index 291a505..a581860 100644
@@ -1293,7 +1293,7 @@ static struct pci_driver mlx4_driver = {
 	.name		= DRV_NAME,
 	.id_table	= mlx4_pci_table,
 	.probe		= mlx4_init_one,
-	.remove		= __devexit_p(mlx4_remove_one)
+	.remove		= mlx4_remove_one
 

You may want to add the trailing comma while you're at it...

Quoted 4 lines
drivers/net/mlx4/main.c +0 -0
 };
 

static int __init mlx4_verify_params(void)

f

#46 lore raw

PATCH 1/1 don't wrap mlx4_remove_one in __devexit_p

The function mlx4_remove_one is defined in .text, so there is no need to wrap it with __devexit_p.

While at it add a trailing comma to the section initializer.

Cc Roland Dreier <[email protected]>
Cc Yevgeny Petrilin <[email protected]>
Cc Yang Hongyang <[email protected]>
Cc Jack Morgenstein <[email protected]>
Cc Eli Cohen <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Franco Fichtner <[email protected]>
---
 drivers/net/mlx4/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/main.c +1 -1
index 291a505..acc2878 100644
@@ -1293,7 +1293,7 @@ static struct pci_driver mlx4_driver = {
 	.name		= DRV_NAME,
 	.id_table	= mlx4_pci_table,
 	.probe		= mlx4_init_one,
-	.remove		= __devexit_p(mlx4_remove_one)
+	.remove		= mlx4_remove_one,
 };
 
 static int __init mlx4_verify_params(void)
#47 lore raw

Re: [PATCH 08/38] move mcf_remove to .devexit.text

In reply to Uwe Kleine-König

Hi Uwe,

Quoted 9 lines · Uwe Kleine-König

The function mcf_remove is used only wrapped by __devexit_p so define it using __devexit.

Cc Greg Ungerer <[email protected]>
Cc Len Sorensen <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Alan Cox <[email protected]>

I have this queued in the for-linus (and for-next) branches for inclusion in 2.6.33 at:

git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git

Regards
Greg

Quoted 17 lines
---
 drivers/serial/mcf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/mcf.c +1 -1
index b443824..7bb5fee 100644
@@ -602,7 +602,7 @@ static int __devinit mcf_probe(struct platform_device *pdev)
 
 /****************************************************************************/
 
-static int mcf_remove(struct platform_device *pdev)
+static int __devexit mcf_remove(struct platform_device *pdev)
 {
 	struct uart_port *port;
 	int i;
Signature · 5 lines
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     [email protected]
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
#48 lore raw

Re: [PATCH 06/38] move iodev_remove to .devexit.text

In reply to Uwe Kleine-König
Quoted 2 lines · Uwe Kleine-König

The function iodev_remove is used only wrapped by __devexit_p so define it using __devexit.

Thanks, queued for 2.6.33.

Ralf

#49 lore raw

Re: [PATCH 02/38] move atp870u_remove to .devexit.text

In reply to Uwe Kleine-König
Quoted 2 lines · Uwe Kleine-König

The function atp870u_remove is used only wrapped by __devexit_p so define it using __devexit.

But there's really no point to this. HOTPLUG is always defined on SCSI systems that have these drivers, which means that _devinit/exit are nops. That makes the change purely cosmetic and not worth churning two dozen drivers for.

Even for the EMBEDDED cases that should care about this, the maintainers have indicated that the memory savings simply aren't worth the hassle of tracking the sectional updates.

James

#50 lore raw

Re: [PATCH 02/38] move atp870u_remove to .devexit.text

Quoted 4 lines · James Bottomley
Quoted 2 lines · Uwe Kleine-König

The function atp870u_remove is used only wrapped by __devexit_p so define it using __devexit.

Quoted 8 lines

But there's really no point to this. HOTPLUG is always defined on SCSI systems that have these drivers, which means that _devinit/exit are nops. That makes the change purely cosmetic and not worth churning two dozen drivers for.

Even for the EMBEDDED cases that should care about this, the maintainers have indicated that the memory savings simply aren't worth the hassle of tracking the sectional updates.

I think there are people that care. Anyhow, then the best thing you can do is something like

	find drivers/scsi -type f -print0 | xargs perl -p -i -e 's/\b__(dev)?exit(_p)?\b//'

Then my scripts will drop the scsi related patches.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
#51 lore raw

Re: [PATCH 02/38] move atp870u_remove to .devexit.text

In reply to James Bottomley
Quoted 8 lines · James Bottomley
Quoted 2 lines · Uwe Kleine-König

The function atp870u_remove is used only wrapped by __devexit_p so define it using __devexit.

But there's really no point to this. HOTPLUG is always defined on SCSI systems that have these drivers, which means that _devinit/exit are nops. That makes the change purely cosmetic and not worth churning two dozen drivers for.

Looking at things from a bit different angle:

These tags still have some value as a documentation and help in maintaining some level of the coherency between different parts of a kernel (which is a Good Thing).

--
Bartlomiej Zolnierkiewicz

#52 lore raw
In reply to Uwe Kleine-König

Hi Uwe,

Quoted 2 lines · Uwe Kleine-König

The function asic3_remove is used only wrapped by __devexit_p so define it using __devexit.

This one was already applied to my for-next branch.

Cheers,
Samuel.

Quoted 27 lines
---
 drivers/mfd/asic3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/asic3.c +1 -1
index 63a2a66..e22128c 100644
@@ -908,7 +908,7 @@ static int __init asic3_probe(struct platform_device *pdev)
 	return ret;
 }
 
-static int asic3_remove(struct platform_device *pdev)
+static int __devexit asic3_remove(struct platform_device *pdev)
 {
 	int ret;
 	struct asic3 *asic = platform_get_drvdata(pdev);
Signature · 1 line
1.6.5.2
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/