fbdev/controlfb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Apr 2013 10:44:19 +0000 (13:44 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:41:41 +0000 (08:41 +0300)
commit47f698a9f2fc49711f3a43ca6713e83f0e76ea5e
treed5b47e837632da3a5ec0fe617a278de62c7f4c78
parent6d28c21fe7b0921af57b15673cbafd4d61f2653d
fbdev/controlfb: 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/controlfb.c