aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2012-11-02 03:46:24 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-12-03 05:15:33 -0500
commit156f34d26a74c6ea060fb43d898f17509ed8e18a (patch)
tree090f10747ac5440fd6ffc0376d6f5e3d6060c2ca /drivers/ata
parentccd1196a924a0fd64132297a121794c347f52d3a (diff)
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 <computersforpeace@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_platform.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 449aa29931bc..f4372d0c7ce6 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -178,23 +178,6 @@ int __devinit __pata_platform_probe(struct device *dev,
178} 178}
179EXPORT_SYMBOL_GPL(__pata_platform_probe); 179EXPORT_SYMBOL_GPL(__pata_platform_probe);
180 180
181/**
182 * __pata_platform_remove - unplug a platform interface
183 * @dev: device
184 *
185 * A platform bus ATA device has been unplugged. Perform the needed
186 * cleanup. Also called on module unload for any active devices.
187 */
188int __pata_platform_remove(struct device *dev)
189{
190 struct ata_host *host = dev_get_drvdata(dev);
191
192 ata_host_detach(host);
193
194 return 0;
195}
196EXPORT_SYMBOL_GPL(__pata_platform_remove);
197
198static int __devinit pata_platform_probe(struct platform_device *pdev) 181static int __devinit pata_platform_probe(struct platform_device *pdev)
199{ 182{
200 struct resource *io_res; 183 struct resource *io_res;