gianfar: add missing iounmap() on error in gianfar_ptp_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 16 May 2013 22:25:34 +0000 (22:25 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 29 Jun 2013 03:06:36 +0000 (04:06 +0100)
commitcda280db44fddb51781d898815d20baabc06c7ca
tree730d0fcb7346023112b21c87d349901126d54aab
parentf3baed9f2b83a8e27b509c0afb8dc0e2a20b8f7e
gianfar: add missing iounmap() on error in  gianfar_ptp_probe()

[ Upstream commit e5f5e380e0f3bb11f04ca5bc66a551e58e0ad26e ]

Add the missing iounmap() before return from gianfar_ptp_probe()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/freescale/gianfar_ptp.c