lkml.org 
[lkml]   [2013]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/4] pinctrl: mvebu: add missing iounmap
From
On Thu, Aug 22, 2013 at 3:22 PM, Ezequiel Garcia
<ezequiel.garcia@free-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@marvell.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


\
 
 \ /
  Last update: 2013-08-23 20:21    [W:1.531 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site