net/irda: sh_sir: Modify iounmap wrong execution
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 5 Apr 2010 18:43:18 +0000 (18:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 02:50:21 +0000 (19:50 -0700)
commit33d8212c4db350652d3991d60405826373fbfd60
tree93fc130e577594b58ad1189ad4e23206bfbf8ad1
parentba5d47cf4313e86afe046d402b8cfe7b2bca911d
net/irda: sh_sir: Modify iounmap wrong execution

On sh_sir_probe function, there was a possibility that
iounmap is executed even though self->membase was NULL when error case.
This patch modify it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_sir.c