ptp_pch: fix error handling in pch_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 22 May 2013 23:59:28 +0000 (23:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2013 04:24:15 +0000 (21:24 -0700)
Fix to release resources when ptp_clock_register() fail instead
of return error code directly.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found