]> err.no Git - linux-2.6/commit
sata_mv: remove iounmap in mv_platform_remove and use devm_iomap
authorSaeed Bishara <saeed@marvell.com>
Mon, 18 Feb 2008 18:42:28 +0000 (07:42 -1100)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Feb 2008 17:20:46 +0000 (12:20 -0500)
commitf1cb0ea12fee23018ad1865bf789cbd463f13747
tree0809e8fd543ecf8bbc3eaa285139d3a8180cb786
parent5d44b414daa8c1d8551aed6130d86d54175db43f
sata_mv: remove iounmap in mv_platform_remove and use devm_iomap

this will fix crash bug when doing rmmod to the driver, this is because the
port_stop function get called later and it could access the device's registers.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Acked-by: Mark Lord <mlord@pobox.com>
Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c