scsi: ufs: qcom: Rename "hs_gear" to "phy_gear"
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 8 Sep 2023 14:53:29 +0000 (20:23 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Sep 2023 01:20:32 +0000 (21:20 -0400)
commit5a738cfe49b2cc0896353c0b33dc5cc81316aabe
tree0015b4a6f496122cdd12c0222a049ba9f21e62b9
parentfc88ca19ad0989dc0e4d4b126d5d0ba91f6cb616
scsi: ufs: qcom: Rename "hs_gear" to "phy_gear"

The "hs_gear" variable is used to cache the gear setting for the PHY that
will be used during ufs_qcom_power_up_sequence(). But it creates ambiguity
with the gear setting used by the ufshcd driver.

So let's rename it to "phy_gear" to make it explicit that this variable
caches the gear setting for the PHY.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20230908145329.154024-2-manivannan.sadhasivam@linaro.org
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Tested-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c
drivers/ufs/host/ufs-qcom.h