mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
pata_platform: remove unused remove function
All users of __pata_platform_remove() have been converted to utilize the common ata_platform_remove_one(). Signed-off-by: Brian Norris <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
ccd1196a92
commit
156f34d26a
2 changed files with 0 additions and 19 deletions
|
|
@ -178,23 +178,6 @@ int __devinit __pata_platform_probe(struct device *dev,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(__pata_platform_probe);
|
||||
|
||||
/**
|
||||
* __pata_platform_remove - unplug a platform interface
|
||||
* @dev: device
|
||||
*
|
||||
* A platform bus ATA device has been unplugged. Perform the needed
|
||||
* cleanup. Also called on module unload for any active devices.
|
||||
*/
|
||||
int __pata_platform_remove(struct device *dev)
|
||||
{
|
||||
struct ata_host *host = dev_get_drvdata(dev);
|
||||
|
||||
ata_host_detach(host);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__pata_platform_remove);
|
||||
|
||||
static int __devinit pata_platform_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct resource *io_res;
|
||||
|
|
|
|||
Loading…
Reference in a new issue