diff options
| -rw-r--r-- | drivers/phy/phy-qcom-ufs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-qcom-ufs.c b/drivers/phy/phy-qcom-ufs.c index 44ee983d57fe..d95effe3cdc1 100644 --- a/drivers/phy/phy-qcom-ufs.c +++ b/drivers/phy/phy-qcom-ufs.c | |||
| @@ -101,6 +101,7 @@ struct phy *ufs_qcom_phy_generic_probe(struct platform_device *pdev, | |||
| 101 | if (IS_ERR(generic_phy)) { | 101 | if (IS_ERR(generic_phy)) { |
| 102 | err = PTR_ERR(generic_phy); | 102 | err = PTR_ERR(generic_phy); |
| 103 | dev_err(dev, "%s: failed to create phy %d\n", __func__, err); | 103 | dev_err(dev, "%s: failed to create phy %d\n", __func__, err); |
| 104 | generic_phy = NULL; | ||
| 104 | goto out; | 105 | goto out; |
| 105 | } | 106 | } |
| 106 | 107 | ||
