Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
r8152 conflicts are the NAPI fixes in 'net' overlapping with some tasklet stuff in net-next Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1194,10 +1194,8 @@ static int phy_power_on(struct rk_priv_data *bsp_priv, bool enable)
|
||||
int ret;
|
||||
struct device *dev = &bsp_priv->pdev->dev;
|
||||
|
||||
if (!ldo) {
|
||||
dev_err(dev, "no regulator found\n");
|
||||
return -1;
|
||||
}
|
||||
if (!ldo)
|
||||
return 0;
|
||||
|
||||
if (enable) {
|
||||
ret = regulator_enable(ldo);
|
||||
|
Reference in New Issue
Block a user