misc: pti, stop using iomap's unmap on ioremap space
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:31 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
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 <jslaby@suse.cz>
Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pti.c