]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev/sa1100fb: use vm_iomap_memory()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Apr 2013 10:55:59 +0000 (13:55 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Apr 2013 05:41:41 +0000 (08:41 +0300)
commit1cc476910408878ac6c4e25ebfacf284f1864f50
tree45bc9454b259ff5a902cd8b5885464d4c18a316d
parent21851819822f179d2a75e2734c829380fee5ce75
fbdev/sa1100fb: 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>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/sa1100fb.c