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)
commit11bd5933abe033fb7a3a0d1f1bd2cb4b6df8143f
tree710ead685dcbe4094ca6443b23f5b810cdf5bf4e
parentc84deb9d615c02993ce0972a0b34585c7624822f
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