1ATA_PLATFORM_REMOVE_(9)         libata Library         ATA_PLATFORM_REMOVE_(9)
2
3
4

NAME

6       ata_platform_remove_one - Platform layer callback for device removal
7

SYNOPSIS

9       int ata_platform_remove_one(struct platform_device * pdev);
10

ARGUMENTS

12       pdev
13           Platform device that was removed
14

DESCRIPTION

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

LOCKING

21       Inherited from platform layer (may sleep).
22

AUTHOR

24       Jeff Garzik
25           Author.
26
28Kernel Hackers Manual 3.10         June 2019           ATA_PLATFORM_REMOVE_(9)
Impressum