fbdev/sa1100fb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Apr 2013 10:55:59 +0000 (13:55 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:41:41 +0000 (08:41 +0300)
commit51fc8e8aabf1dc89934743c62069acbbe2016fe9
tree45bc9454b259ff5a902cd8b5885464d4c18a316d
parent7b3d1c82417b340c73e416db10770379291010ba
fbdev/sa1100fb: use vm_iomap_memory()

Use vm_iomap_memory() instead of [io_]remap_pfn_range().
vm_iomap_memory() gives us much simpler API to map memory to userspace,
and reduces possibilities for bugs.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/sa1100fb.c