Messages in this thread | | | Date | Mon, 23 Apr 2012 13:19:07 +0200 | Subject | Re: [PATCH 5/9] gpio/nomadik: use typesafe __io_address() | From | Linus Walleij <> |
| |
On Mon, Apr 23, 2012 at 11:17 AM, Russell King - ARM Linux <linux@arm.linux.org.uk> wrote: > On Mon, Apr 23, 2012 at 11:14:42AM +0200, Linus Walleij wrote: >> From: Linus Walleij <linus.walleij@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |