1. NAME

ata_platform_remove_one - Platform layer callback for device removal

2. SYNOPSIS

int ata_platform_remove_one(struct platform_device *  pdev );

3. ARGUMENTS

pdev
    Platform device that was removed

4. DESCRIPTION

Platform layer indicates to libata via this hook that hot-unplug or module unload event has occurred. Detach all ports. Resource release is handled via devres.

5. LOCKING

Inherited from platform layer (may sleep).

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT