summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/soc/qcom/socinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 5b4ad24a022b..f6cfb79338f0 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -334,8 +334,8 @@ static int qcom_show_pmic_model_array(struct seq_file *seq, void *p)
if (model < ARRAY_SIZE(pmic_models) && pmic_models[model])
seq_printf(seq, "%s %u.%u\n", pmic_models[model],
- SOCINFO_MAJOR(le32_to_cpu(die_rev)),
- SOCINFO_MINOR(le32_to_cpu(die_rev)));
+ SOCINFO_MAJOR(die_rev),
+ SOCINFO_MINOR(die_rev));
else
seq_printf(seq, "unknown (%d)\n", model);
}