mirror-linux/drivers/net/phy
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
..
Kconfig drivers: net: phy: mdio-xgene: Add hardware dependency 2016-09-09 19:29:40 -07:00
Makefile drivers: net: phy: xgene: Add MDIO driver 2016-07-25 21:51:43 -07:00
amd.c
aquantia.c
at803x.c net: phy: at803x: only the AT8030 needs a hardware reset on link change 2016-04-28 16:48:21 -04:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
broadcom.c
cicada.c
davicom.c
dp83640.c
dp83640_reg.h
dp83848.c
dp83867.c net: phy: dp83867: Fix initialization of PHYCR register 2016-07-02 14:48:58 -04:00
et1011c.c
fixed_phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-06-30 05:03:36 -04:00
icplus.c
intel-xway.c NET: PHY: adds driver for Intel XWAY PHY 2016-06-10 22:13:48 -07:00
lxt.c lxt: simplify lxt970_config_init() 2016-05-16 13:53:20 -04:00
marvell.c Marvell phy: add functions to suspend and resume both interfaces: fiber and copper links. 2016-07-19 16:05:56 -07:00
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c net: Add MDIO bus driver for the Hisilicon FEMAC 2016-07-16 21:32:58 -07:00
mdio-moxart.c
mdio-mux-bcm-iproc.c net: mdio-mux: Add MDIO mux driver for iProc SoCs 2016-06-10 23:24:54 -07:00
mdio-mux-gpio.c mdio: mux: Enhanced MDIO mux framework for integrated multiplexers 2016-06-10 23:24:53 -07:00
mdio-mux-mmioreg.c mdio: mux: Enhanced MDIO mux framework for integrated multiplexers 2016-06-10 23:24:53 -07:00
mdio-mux.c mdio: mux: avoid 'maybe-uninitialized' warning 2016-06-15 20:48:52 -07:00
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c drivers: net: phy: xgene: Fix 'remove' function 2016-09-13 12:04:11 -04:00
mdio-xgene.h drivers: net: phy: xgene: Add MDIO driver 2016-07-25 21:51:43 -07:00
mdio_bus.c mdio_bus: don't return NULL from mdiobus_scan() 2016-05-04 16:14:19 -04:00
mdio_device.c
micrel.c phy: micrel: Reenable interrupts during resume for ksz9031 2016-08-23 16:56:54 -07:00
microchip.c
national.c
phy.c Revert "phy: IRQ cannot be shared" 2016-08-25 16:53:47 -07:00
phy_device.c Revert "phy: add support for a reset-gpio specification" 2016-05-20 17:56:59 -04:00
qsemi.c
realtek.c
smsc.c net: phy: smsc: reintroduced unconditional soft reset 2016-06-10 22:14:58 -07:00
spi_ks8995.c
ste10Xp.c
swphy.c phy: generate swphy registers on the fly 2016-06-27 10:40:57 -04:00
swphy.h phy: generate swphy registers on the fly 2016-06-27 10:40:57 -04:00
teranetics.c
vitesse.c