]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev/ps3fb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Apr 2013 04:52:42 +0000 (07:52 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Apr 2013 05:28:47 +0000 (08:28 +0300)
commit160b77b0327ae3c8d4ae3862453d5c2aae8031b2
tree710ead685dcbe4094ca6443b23f5b810cdf5bf4e
parent4c7816e6352aa7086606fff3eb9f7789084347f3
fbdev/ps3fb: 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>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
drivers/video/ps3fb.c