[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZKGUGnnwEt0W6hQKhA0NnHWtkeBuaz-chDS=9rZD9y7A@mail.gmail.com>
Date: Fri, 23 Aug 2013 20:06:02 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>
Cc: Jisheng Zhang <jszhang@...vell.com>,
Jason Cooper <jason@...edaemon.net>,
Andrew Lunn <andrew@...n.ch>,
Gregory CLEMENT <gregory.clement@...e-electrons.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Mike Turquette <mturquette@...aro.org>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Russell King - ARM Linux <linux@....linux.org.uk>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] pinctrl: mvebu: add missing iounmap
On Thu, Aug 22, 2013 at 3:22 PM, Ezequiel Garcia
<ezequiel.garcia@...e-electrons.com> wrote:
> On Thu, Aug 22, 2013 at 08:46:51PM +0800, Jisheng Zhang wrote:
>> Add missing iounmap to prove error path and remove path
>>
>> Signed-off-by: Jisheng Zhang <jszhang@...vell.com>
>> ---
>> drivers/pinctrl/mvebu/pinctrl-mvebu.c | 24 +++++++++++++++++-------
>> 1 file changed, 17 insertions(+), 7 deletions(-)
>
> How about using devm_ioremap_resource() instead?
Yeah that's the right solution, Jisheng can you fix this?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists