]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e61996802c4e47e9ed5cbc326d522c490736d1c
tree072dcb99c26f766e49e8a029e74b8f5781ab09fc
parent703672083ec5dcd1f437e1daaee90f8eb03563a0
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