vm: convert HPET mmap to vm_iomap_memory() helper
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:46:39 +0000 (09:46 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 13 May 2013 14:02:34 +0000 (15:02 +0100)
commit67831724738a1d49962631430f3609cb76eeb846
tree3427838e11e7810140043ce0097c805bdb03bbb5
parentfc6b92e0aa98ec9547bf779f4e71c0f259f794f3
vm: convert HPET mmap to vm_iomap_memory() helper

commit 2323036dfec8ce3ce6e1c86a49a31b039f3300d1 upstream.

This is my example conversion of a few existing mmap users.  The HPET
case is simple, widely available, and easy to test (Clemens Ladisch sent
a trivial test-program for it).

Test-program-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/char/hpet.c