move asic3_remove to .devexit.text
Subsystems (25)
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
@@ -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
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
@@ -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
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.
--- drivers/mtd/nand/excite_nandflash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/excite_nandflash.c +1 -1
@@ -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
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
@@ -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
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.
--- drivers/scsi/initio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/initio.c +1 -1
@@ -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
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.
--- arch/mips/basler/excite/excite_iodev.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/basler/excite/excite_iodev.c +2 -2
@@ -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
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.
--- drivers/scsi/lasi700.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/lasi700.c +1 -1
@@ -147,7 +147,7 @@ lasi700_probe(struct parisc_device *dev)return -ENODEV ; } -static int __exit +static int __devexitlasi700_driver_remove (struct parisc_device *dev) {struct Scsi_Host *host =dev_get_drvdata (&dev->dev);
Signature · 1 line
1.6.5.2
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.
--- drivers/serial/mcf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/mcf.c +1 -1
@@ -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
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
@@ -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 __devexitmegaraid_detach_one (struct pci_dev *pdev) {adapter_t *adapter;
Signature · 1 line
1.6.5.2
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.
--- drivers/net/mlx4/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/main.c +1 -1
@@ -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
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
@@ -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
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.
--- drivers/edac/mv64x60_edac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/edac/mv64x60_edac.c +1 -1
@@ -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
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.
--- drivers/mtd/nand/mxc_nand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/mxc_nand.c +1 -1
@@ -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
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
@@ -325,7 +325,7 @@ NCR_Q720_remove_one(struct Scsi_Host *host)ncr53c8xx_release (host); } -static int __exit +static int __devexitNCR_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
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.
--- arch/arm/plat-s3c24xx/adc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c24xx/adc.c +1 -1
@@ -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
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.
--- arch/arm/plat-s3c/pwm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c/pwm.c +1 -1
@@ -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
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
@@ -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
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.
--- drivers/scsi/sgiwd93.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/sgiwd93.c +1 -1
@@ -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
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.
--- drivers/scsi/sni_53c710.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/sni_53c710.c +1 -1
@@ -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
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.
--- drivers/spi/spidev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/spidev.c +1 -1
@@ -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
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.
--- drivers/scsi/stex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/stex.c +1 -1
@@ -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
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
@@ -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
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.
--- drivers/scsi/zalon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/zalon.c +1 -1
@@ -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
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
@@ -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
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
@@ -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
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.
--- drivers/vlynq/vlynq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/vlynq/vlynq.c +1 -1
@@ -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
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
@@ -1000,7 +1000,7 @@ out:/** * PCI remove entry. */ -void +void __devexitbfad_pci_remove (struct pci_dev *pdev) {struct bfad_s *bfad =pci_get_drvdata (pdev);
Signature · 1 line
1.6.5.2
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
@@ -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
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
@@ -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
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
@@ -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
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.
--- drivers/rtc/rtc-pcf2123.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/rtc-pcf2123.c +1 -1
@@ -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
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
@@ -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
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.
--- 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
@@ -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
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.
--- drivers/media/video/davinci/vpfe_capture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpfe_capture.c +1 -1
@@ -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
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.
--- drivers/media/video/davinci/vpif.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpif.c +1 -1
@@ -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
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.
--- drivers/media/video/davinci/vpss.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/media/video/davinci/vpss.c +1 -1
@@ -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
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
@@ -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
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.
--- drivers/usb/gadget/composite.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/gadget/composite.c +1 -1
@@ -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
Paul Mundt
AppliedRe: [PATCH 28/38] don't use __exit_p to wrap ds1302_rtc_remove
In reply to Uwe Kleine-KönigQuoted 9 lines · Uwe Kleine-K??nig
The function
ds1302_rtc_removeis defined using__devexit, so don't use__exit_pbut__devexit_pto wrap it.Signed-off-by Uwe Kleine-K??nig <[email protected]>Cc Paul Mundt <[email protected]>Cc Alessandro Zummo <[email protected]>Cc Paul Gortmaker <[email protected]>
Quoted 7 lines · Uwe Kleine-K??nig
The function
sci_removeis defined without any section modifier, so don't use__devexit_pto wrap it.Signed-off-by Uwe Kleine-K??nig <[email protected]>Cc Paul Mundt <[email protected]>Cc Magnus Damm <[email protected]>
I've applied both of these, thanks.
Re: [PATCH 32/38] don't use __exit_p to wrap plat_mpc8xxx_spi_remove
In reply to Uwe Kleine-König2009/11/24 Uwe Kleine-König <[email protected]>:
Quoted 4 lines
The function
plat_mpc8xxx_spi_removeis defined using__devexit, so don't use__exit_pbut__devexit_pto wrap it.Signed-off-by Uwe Kleine-König <[email protected]>
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@@ -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.
Re: [PATCH 29/38] move mc33880_remove to .devexit.text
In reply to Uwe Kleine-KönigQuoted 4 lines · Uwe Kleine-König
The function
mc33880_removeis used only wrapped by__devexit_pso define it using__devexit.Signed-off-by Uwe Kleine-König <[email protected]>
Re: [PATCH 20/38] move spidev_remove to .devexit.text
In reply to Uwe Kleine-König2009/11/24 Uwe Kleine-König
Quoted 2 lines
The function
spidev_removeis used only wrapped by__devexit_pso 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
Re: [PATCH 16/38] move s3c_pwm_remove to .devexit.text
In reply to Uwe Kleine-KönigQuoted 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
Re: [PATCH 15/38] move s3c_adc_remove to .devexit.text
In reply to Uwe Kleine-KönigQuoted 2 lines · Uwe Kleine-K?nig
The function
s3c_adc_removeis used only wrapped by__devexit_pso define it using__devexit.
Shall I put these into my tree?
Quoted 36 lines
Signed-off-by Uwe Kleine-K?nig <[email protected]>Acked-by Sam Ravnborg <[email protected]>Cc Russell King <[email protected]>Acked-by Ben Dooks <[email protected]>Cc Ramax Lo <[email protected]>Cc Nelson Castillo <[email protected]>Cc linux-kernel at vger.kernel.orgCc 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@@ -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.
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_removeis used only wrapped by__devexit_pso 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/ |
Re: [PATCH 10/38] don't wrap mlx4_remove_one in __devexit_p
In reply to Uwe Kleine-Königdrivers/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@@ -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
__initmlx4_verify_params(void)
f
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.
--- drivers/net/mlx4/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/main.c +1 -1
@@ -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 )
Re: [PATCH 08/38] move mcf_remove to .devexit.text
In reply to Uwe Kleine-KönigHi Uwe,
Quoted 9 lines · Uwe Kleine-König
The function
mcf_removeis used only wrapped by__devexit_pso define it using__devexit.Signed-off-by Uwe Kleine-König <[email protected]>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@@ -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
Re: [PATCH 06/38] move iodev_remove to .devexit.text
In reply to Uwe Kleine-KönigQuoted 2 lines · Uwe Kleine-König
The function
iodev_removeis used only wrapped by__devexit_pso define it using__devexit.
Thanks, queued for 2.6.33.
Ralf
Re: [PATCH 02/38] move atp870u_remove to .devexit.text
In reply to Uwe Kleine-KönigQuoted 2 lines · Uwe Kleine-König
The function
atp870u_removeis used only wrapped by__devexit_pso 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
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_removeis used only wrapped by__devexit_pso 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/ |
Re: [PATCH 02/38] move atp870u_remove to .devexit.text
In reply to James BottomleyQuoted 8 lines · James Bottomley
Quoted 2 lines · Uwe Kleine-König
The function
atp870u_removeis used only wrapped by__devexit_pso 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
Hi Uwe,
Quoted 2 lines · Uwe Kleine-König
The function
asic3_removeis used only wrapped by__devexit_pso define it using__devexit.
This one was already applied to my for-next branch.
Cheers,
Samuel.
Quoted 27 lines
Signed-off-by Uwe Kleine-König <[email protected]>Acked-by Sam Ravnborg <[email protected]>Cc Samuel Ortiz <[email protected]>Cc Philipp Zabel <[email protected]>Cc Yinghai Lu <[email protected]>Cc Russell King <[email protected]>--- drivers/mfd/asic3.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/mfd/asic3.c +1
-1@@ -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/