misc: pti, stop using iomap's unmap on ioremap space
authorJiri Slaby <[email protected]>
Tue, 7 Aug 2012 19:47:31 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <[email protected]>
Fri, 10 Aug 2012 20:27:51 +0000 (13:27 -0700)
commitdda3f32c3a7201ee79e7e6a7b1d827b89759b4bc
tree450493ebde6fb39927b6ca6c66f24c9adfb62b2d
parentc6333cc65d12fddf9cf79de3950b65bc142784e1
misc: pti, stop using iomap's unmap on ioremap space

Ioremap space is different to iomap. ->probe function uses ioremap,
but ->remove calls pci_iounmap. That one is illegal. Fix that by using
iounmap.

Signed-off-by: Jiri Slaby <[email protected]>
Cc: J Freyensee <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/misc/pti.c