ucc_geth: Fix IO memory (un)mapping code
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 18 Dec 2008 08:23:33 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Dec 2008 06:50:55 +0000 (22:50 -0800)
commit3e73fc9a12679a546284d597c1f19165792d0b83
treee8feae86c1f4d5a096a1f4f971abe1dbe78072e3
parentba574696a34eb518979e742b35ccd30dec284583
ucc_geth: Fix IO memory (un)mapping code

The driver doesn't check ioremap() return value, and doesn't free the
remapped memory.

This patch fixes it.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c