lan78xx: Return 0 when lan78xx_suspend() has no error.
authorWoojung.Huh@microchip.com <Woojung.Huh@microchip.com>
Fri, 25 Sep 2015 21:13:48 +0000 (21:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:28:53 +0000 (22:28 -0700)
commit49d28b5642444d82bd23b9333785480d265420d1
tree8653025c6ebe1b0502d716d40f65ffa1d014ab49
parent366f02d873575ccbcdc5f6d90698dbbe4f80f134
lan78xx: Return 0 when lan78xx_suspend() has no error.

lan78xx_suspend() may return non-zero from lan78xx_write_reg() in some scenario.
Fix to return 0 when lan78xx_suspend() has no error.

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c