diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-09-07 13:07:28 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-20 11:28:09 +0530 |
commit | b767dedc05ec92a11e99bd9e4ec18ce6abe02388 (patch) | |
tree | 9a98288ba93a6a7e758cf7a7743a20861b1ba4bd /drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | |
parent | 4412817b12da6bb99e0590ab1c9cd3e894fc93d5 (diff) | |
download | linux-b767dedc05ec92a11e99bd9e4ec18ce6abe02388.tar.bz2 |
phy: qcom-qmp-usb: shorten function prefixes
The driver function prefix has gotten unnecessarily long and hurts
readability.
Shorten "qcom_qmp_phy_" to "qmp_" (which likely stands for "Qualcomm
Multi PHY" or similar anyway).
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220907110728.19092-17-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, 1 insertions, 2 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c index b020409b92e0..4d0eee620f37 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c @@ -1105,8 +1105,7 @@ static const struct phy_ops qcom_qmp_ufs_ops = { .owner = THIS_MODULE, }; -static -int qmp_ufs_create(struct device *dev, struct device_node *np, int id, +static int qmp_ufs_create(struct device *dev, struct device_node *np, int id, void __iomem *serdes, const struct qmp_phy_cfg *cfg) { struct qcom_qmp *qmp = dev_get_drvdata(dev); |