net: ethernet: nb8800: fix error handling of nb8800_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 19 Jul 2016 11:33:10 +0000 (11:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 21:46:00 +0000 (14:46 -0700)
commit9a7bae8a12140c164082100a917ed5f856afccfc
tree8282a3a7f6ef8a985d85b7cb90705d0184401b7b
parent459421cc81eb4cdca96ef2c2b532359c6daa9002
net: ethernet: nb8800: fix error handling of nb8800_probe()

In ops->reset() error handling case, clk_disable_unprepare() is missed
before return from this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aurora/nb8800.c