lkml.org 
[lkml]   [2012]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 5/9] gpio/nomadik: use typesafe __io_address()
From
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/

\
 
 \ /
  Last update: 2012-04-23 13:23    [W:0.521 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site