net: mvmdio: simplify the smi read and write error paths
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 15 Jun 2017 14:43:24 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 16:27:12 +0000 (12:27 -0400)
commit0268b51e3043d96c4133154b20a5b8338857cb5b
tree8f205627a0dbabb3c16acdd3439adb8604233b4f
parentc0ac08f533e6995e1bc14e67cd3c21ad07dd9214
net: mvmdio: simplify the smi read and write error paths

Cosmetic patch simplifying the smi read and write error paths. It also
align their error paths with the ones of the xsmi functions.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c