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

Linus Walleij linus.walleij at linaro.org
Mon Apr 23 07:19:07 EDT 2012


On Mon, Apr 23, 2012 at 11:17 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> 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?

Hey it works, I'll delete the static maps as well and send an updated patch.

Thanks Russell,
Linus Walleij



More information about the linux-arm-kernel mailing list