]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
soc: qcom: socinfo: Fixed argument passed to platform_set_data()
authorAntonio Martorana <amartora@codeaurora.org>
Tue, 17 Aug 2021 00:24:39 +0000 (17:24 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 13 Sep 2021 15:39:59 +0000 (10:39 -0500)
commit9c5a4ec69bbf5951f84ada9e0db9c6c50de61808
tree255a939ec3784ba8f981d5b51206ad579f020887
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
soc: qcom: socinfo: Fixed argument passed to platform_set_data()

Set qcom_socinfo pointer as data being stored instead of pointer
to soc_device structure. Aligns with future calls to platform_get_data()
which expects qcom_socinfo pointer.

Fixes: efb448d0a3fc ("soc: qcom: Add socinfo driver")
Signed-off-by: Antonio Martorana <amartora@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1629159879-95777-1-git-send-email-amartora@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/socinfo.c