]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: qcom: mdt_loader: merge __qcom_mdt_load() and qcom_mdt_load_no_init()
authorGabor Juhos <j4g8y7@gmail.com>
Tue, 11 Nov 2025 07:40:10 +0000 (08:40 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 11 Nov 2025 15:48:56 +0000 (09:48 -0600)
commit0cda8823b176a5303a2c4bc2366908e3049c416e
tree5e5b32bc5631b8d62849b7e88668f6cd2a41196c
parent6918667af5a7315eff3c56d871be4c5439f7f9d2
soc: qcom: mdt_loader: merge __qcom_mdt_load() and qcom_mdt_load_no_init()

The qcom_mdt_load_no_init() function is just a simple wrapper around
of __qcom_mdt_load(). Since commit 0daf35da397b ("soc: qcom: mdt_loader:
Remove pas id parameter") both functions are using the same type of
parameters and providing the same functionality.

Keeping two functions for the same purpose is superfluous, so rename
the __qcom_mdt_load() function to qcom_mdt_load_no_init() and remove
the wrapper.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251111-mdt-loader-cleanup-v1-1-71afee094dce@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/mdt_loader.c