]> 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)
commit3ba224d88184c0d6139e4e0b4b93decf7edb41fb
tree283529d93400c32f508acc32b1eb0850be940960
parent084aa4aa0b0aefe641260b2abe600fc7b7f75365
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