diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-10-12 10:12:29 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-10-28 17:42:28 +0530 |
commit | 17302d3630030db09947241451f3d984bc0d3144 (patch) | |
tree | 1efe803b14eeaee2b3f64138e2edf6c4c06c8c28 /drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | |
parent | 28d74fc36a3e667b51a437fbf6c45264a0c8f2db (diff) | |
download | linux-stable-17302d3630030db09947241451f3d984bc0d3144.tar.gz linux-stable-17302d3630030db09947241451f3d984bc0d3144.tar.bz2 linux-stable-17302d3630030db09947241451f3d984bc0d3144.zip |
phy: qcom-qmp: drop superfluous comments
Drop some unnecessary or incorrect comments.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221012081241.18273-3-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-ufs.c')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index 566365fbfe1a..ab69f648ee38 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -849,7 +849,6 @@ static int qmp_ufs_com_init(struct qmp_phy *qphy) void __iomem *pcs = qphy->pcs; int ret; - /* turn on regulator supplies */ ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); if (ret) { dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); @@ -1194,12 +1193,10 @@ static int qmp_ufs_probe(struct platform_device *pdev) qmp->dev = dev; dev_set_drvdata(dev, qmp); - /* Get the specific init parameters of QMP phy */ cfg = of_device_get_match_data(dev); if (!cfg) return -EINVAL; - /* per PHY serdes; usually located at base address */ serdes = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(serdes)) return PTR_ERR(serdes); |