Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344431
b: refs/heads/master
c: 156f34d
h: refs/heads/master
i:
  344429: aa81542
  344427: 8de8615
  344423: f56e995
  344415: b9509cb
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent 6f04850 commit 5e30950
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccd1196a924a0fd64132297a121794c347f52d3a
refs/heads/master: 156f34d26a74c6ea060fb43d898f17509ed8e18a
17 changes: 0 additions & 17 deletions trunk/drivers/ata/pata_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/ata_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ extern int __devinit __pata_platform_probe(struct device *dev,
unsigned int ioport_shift,
int __pio_mask);

extern int __devexit __pata_platform_remove(struct device *dev);

/*
* Marvell SATA private data
*/
Expand Down

0 comments on commit 5e30950

Please sign in to comment.