]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev/sgivwfb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Apr 2013 04:50:44 +0000 (07:50 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:41:42 +0000 (08:41 +0300)
commit200fa268b2bb00a0c9c2941706e38664d693ace1
tree3663ec0b35a39adc0dda8426deee2bc0e43b212a
parent4ad7b277d3096d1913fbd6c19c910119909d623d
fbdev/sgivwfb: 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/sgivwfb.c