commit | 227f33beab746aeec4ef3305bd17b1d374df09e7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Mar 21 12:02:31 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 21 11:30:01 2016 -0400 |
tree | 41f1b2a258a2b98ff9ad5f34ba5dca9e28867cbd | |
parent | abc34d753ee013a62595c2f7e9260e173dd083c6 [diff] |
mdio-sun4i: oops in error handling in probe We could end up dereferencing an error pointer when we call regulator_disable(). Fixes: 4bdcb1dd9feb ('net: Add MDIO bus driver for the Allwinner EMAC') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>