tc35815: fix iomap leak
authorKulikov Vasiliy <segooon@gmail.com>
Sat, 10 Jul 2010 00:03:18 +0000 (00:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:42 +0000 (20:21 -0700)
commitb31fb86815153be3bc94e8ffb9dbf6e9d7694b2d
treea7bf4a424cc2aa2d620aaa4fb51c94a3b3b230e2
parent60eb5fd11d1c6050c45a5aab141f42dd396e2a7f
tc35815: fix iomap leak

If tc35815_init_one() fails we must unmap mapped regions.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tc35815.c