[PATCH 5/9] gpio/nomadik: use typesafe __io_address()

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Apr 23 05:17:34 EDT 2012


On Mon, Apr 23, 2012 at 11:14:42AM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
> 
> We were using a custom io_p2v() (physical-to-virtual) translation
> macro, but with the advent of the cross-platform __io_address()
> let us try to get rid of this. Inspired by a similar patch by
> Jonas Aberg.

Is there any point to io_p2v() or __io_address() anymore?  Won't ioremap()
do here?



More information about the linux-arm-kernel mailing list