diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-23 01:59:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-26 06:24:15 +0200 |
commit | 0d8c3e77e7fba8c84c871b43f35029daa92acc17 (patch) | |
tree | 4a7fa6d1716198258aeea3456917c9ac0444e14c /drivers/ptp/ptp_chardev.c | |
parent | qlge: add missing free_netdev() on error in qlge_probe() (diff) | |
download | linux-0d8c3e77e7fba8c84c871b43f35029daa92acc17.tar.xz linux-0d8c3e77e7fba8c84c871b43f35029daa92acc17.zip |
ptp_pch: fix error handling in pch_probe()
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>
Diffstat (limited to 'drivers/ptp/ptp_chardev.c')
0 files changed, 0 insertions, 0 deletions