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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 May 2013 01:19:36 +0000 (18:19 -0700)
commite5f5e380e0f3bb11f04ca5bc66a551e58e0ad26e
tree9a7ca14c80a1da274922242372068915f532f242
parent7ffc37fc358e6298f0e4712c8f82385331303934
gianfar: add missing iounmap() on error in gianfar_ptp_probe()

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>
drivers/net/ethernet/freescale/gianfar_ptp.c