]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev/fb-puv3: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Apr 2013 10:48:43 +0000 (13:48 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:41:41 +0000 (08:41 +0300)
commit21851819822f179d2a75e2734c829380fee5ce75
tree283529d93400c32f508acc32b1eb0850be940960
parent9e68c3989467254f008a26649f494e8c38c52e62
fbdev/fb-puv3: 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: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/video/fb-puv3.c