cpsw: fix leaking IO mappings
authorRichard Cochran <richardcochran@gmail.com>
Fri, 2 Nov 2012 22:25:30 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 19:37:36 +0000 (15:37 -0400)
commit5250c9694fa879532470d87ebf6a485be1124221
tree1c9bc1ab3735c8e322393112b9b89e764ab747cd
parenta65dd5b236053fbafb1926b7694fcdb2482b2f73
cpsw: fix leaking IO mappings

The CPSW driver remaps two different IO regions, but fails to unmap them
both. This patch fixes the issue by calling iounmap in the appropriate
places.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c