]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
soc: qcom: socinfo: Remove unwanted le32_to_cpu()
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 18 Jan 2021 15:22:36 +0000 (18:22 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 28 Jan 2021 04:08:42 +0000 (22:08 -0600)
commitaec8535edccb943adc067d184af1a3370f5b9568
tree1d82c7003588b24390f7b3642623f6f911fda2c7
parente161ce8e4cc12f2c681b13a160f709d84dee4d4f
soc: qcom: socinfo: Remove unwanted le32_to_cpu()

Remove extra le32_to_cpu() conversion, data is already converted from
le32 to cpu endianness. This fixes two following warnings:

drivers/soc/qcom/socinfo.c:322:36: sparse: sparse: cast to restricted __le32
drivers/soc/qcom/socinfo.c:323:36: sparse: sparse: cast to restricted __le32

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 734c78e7febf ("soc: qcom: socinfo: add info from PMIC models array")
Link: https://lore.kernel.org/r/20210118152236.514776-1-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/socinfo.c