]> 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)
commit4c7816e6352aa7086606fff3eb9f7789084347f3
tree3663ec0b35a39adc0dda8426deee2bc0e43b212a
parentde8c6a01d78d655a4a676dfd338f6713baa203ec
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