forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCMCIA: soc_common: push socket removal down to SoC specific support
Mechanically transplant the removal code from soc_common into each SoC specific base support file, thereby allowing soc_common_drv_pcmcia_remove to be removed. No other changes. Signed-off-by: Russell King <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
- Loading branch information
Russell King - ARM Linux
authored and
Dominik Brodowski
committed
Nov 9, 2009
1 parent
097e296
commit be85458
Showing
5 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -778,22 +778,6 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops | |
} | ||
EXPORT_SYMBOL(soc_common_drv_pcmcia_probe); | ||
|
||
int soc_common_drv_pcmcia_remove(struct device *dev) | ||
{ | ||
struct skt_dev_info *sinfo = dev_get_drvdata(dev); | ||
int i; | ||
|
||
dev_set_drvdata(dev, NULL); | ||
|
||
for (i = 0; i < sinfo->nskt; i++) | ||
soc_pcmcia_remove_one(&sinfo->skt[i]); | ||
|
||
kfree(sinfo); | ||
|
||
return 0; | ||
} | ||
EXPORT_SYMBOL(soc_common_drv_pcmcia_remove); | ||
|
||
MODULE_AUTHOR("John Dorsey <[email protected]>"); | ||
MODULE_DESCRIPTION("Linux PCMCIA Card Services: Common SoC support"); | ||
MODULE_LICENSE("Dual MPL/GPL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters