Commit bd98cab9 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

soc: qcom: socinfo: fix two sparse warnings



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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 734c78e7 ("soc: qcom: socinfo: add info from PMIC models array")
parent 03e7411d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment