ahci: st: Utilise ata_platform_remove_one() call
authorLee Jones <lee.jones@linaro.org>
Wed, 12 Mar 2014 12:39:40 +0000 (12:39 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 13:21:05 +0000 (09:21 -0400)
commita82370842834875c81b482181af280353aa6be05
treed6a4fcf17dfd0119712f5bb66686170cc511752c
parentc51a848973da8b347191c0e317da3b912c2cdb6a
ahci: st: Utilise ata_platform_remove_one() call

ata_platform_remove_one() allows us to specify our own exit function
via platform data then goes off and removes ATA Host and Port in
preparation for device removal.

Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_st.c