Christophe Jaillet 440f895aa9 drivers: net: phy: xgene: Fix 'remove' function
If 'IS_ERR(pdata->clk)' is true, then 'clk_disable_unprepare(pdata->clk)'
will do nothing.

It is likely that 'if (!IS_ERR(pdata->clk))' was expected here.
In fact, the test can even be removed because 'clk_disable_unprepare'
already handles such cases.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-13 12:04:11 -04:00
..
2016-09-04 11:41:12 -07:00
2016-08-06 09:20:13 -04:00
2016-06-15 22:06:06 -07:00
2016-09-07 20:16:37 +03:00
2016-05-09 00:00:28 -04:00
2016-08-23 23:09:27 -07:00
2016-07-19 19:25:43 -07:00