Skip to content
Commit c9f08641 authored by Li Qiang's avatar Li Qiang Committed by John Snow
Browse files

ide: core: add cleanup function



As the pci ahci can be hotplug and unplug, in the ahci unrealize
function it should free all the resource once allocated in the
realized function. This patch add ide_exit to free the resource.

Signed-off-by: default avatarLi Qiang <liqiang6-s@360.cn>
Message-id: 1488449293-80280-3-git-send-email-liqiang6-s@360.cn
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
parent 44a109c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment