]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: qcom-qmp-ufs: Remove qmp_ufs_com_init()
authorNitin Rawat <quic_nitirawa@quicinc.com>
Mon, 26 May 2025 15:38:17 +0000 (21:08 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 15 Jun 2025 14:23:24 +0000 (19:53 +0530)
commit7bcf4936aac6ec8d6fafbfd6f4f62302e5296a0d
treeac7d57d49444a9019c33a538767330ef7933df1f
parentd58b9ff47775042acc501d0a892af8bd08128a65
phy: qcom-qmp-ufs: Remove qmp_ufs_com_init()

The qmp_ufs_power_on() function acts as a wrapper, solely invoking
qmp_ufs_com_init(). Additionally, the code within qmp_ufs_com_init()
does not correspond well with its name.

Therefore, to enhance the readability and eliminate unnecessary
function call inline qmp_ufs_com_init() into qmp_ufs_power_on().

There is no change to the functionality.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Link: https://lore.kernel.org/r/20250526153821.7918-7-quic_nitirawa@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c