]> 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)
commit302a2e55758c8de905874db4c5fe606182f628dc
tree710ead685dcbe4094ca6443b23f5b810cdf5bf4e
parent200fa268b2bb00a0c9c2941706e38664d693ace1
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