fbdev/omapfb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Apr 2013 10:05:07 +0000 (13:05 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:34:05 +0000 (08:34 +0300)
commit6d28c21fe7b0921af57b15673cbafd4d61f2653d
tree072dcb99c26f766e49e8a029e74b8f5781ab09fc
parent60d509fa6a9c4653a86ad830e4c4b30360b23f0e
fbdev/omapfb: 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>
drivers/video/omap2/omapfb/omapfb-main.c