diff options
Diffstat (limited to 'drivers/pcmcia/soc_common.c')
-rw-r--r-- | drivers/pcmcia/soc_common.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/pcmcia/soc_common.c b/drivers/pcmcia/soc_common.c index 9bfa74a6d8ff..fb5377d17af4 100644 --- a/drivers/pcmcia/soc_common.c +++ b/drivers/pcmcia/soc_common.c | |||
@@ -778,22 +778,6 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops | |||
778 | } | 778 | } |
779 | EXPORT_SYMBOL(soc_common_drv_pcmcia_probe); | 779 | EXPORT_SYMBOL(soc_common_drv_pcmcia_probe); |
780 | 780 | ||
781 | int soc_common_drv_pcmcia_remove(struct device *dev) | ||
782 | { | ||
783 | struct skt_dev_info *sinfo = dev_get_drvdata(dev); | ||
784 | int i; | ||
785 | |||
786 | dev_set_drvdata(dev, NULL); | ||
787 | |||
788 | for (i = 0; i < sinfo->nskt; i++) | ||
789 | soc_pcmcia_remove_one(&sinfo->skt[i]); | ||
790 | |||
791 | kfree(sinfo); | ||
792 | |||
793 | return 0; | ||
794 | } | ||
795 | EXPORT_SYMBOL(soc_common_drv_pcmcia_remove); | ||
796 | |||
797 | MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>"); | 781 | MODULE_AUTHOR("John Dorsey <john+@cs.cmu.edu>"); |
798 | MODULE_DESCRIPTION("Linux PCMCIA Card Services: Common SoC support"); | 782 | MODULE_DESCRIPTION("Linux PCMCIA Card Services: Common SoC support"); |
799 | MODULE_LICENSE("Dual MPL/GPL"); | 783 | MODULE_LICENSE("Dual MPL/GPL"); |