ata_platform_remove_one (9) - Linux Man Pages
ata_platform_remove_one: Platform layer callback for device removal
ata_platform_remove_one - Platform layer callback for device removal
int ata_platform_remove_one(struct platform_device
- Platform device that was removed
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.