summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/smem_state.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2020-05-25 19:48:15 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-06-23 12:43:47 -0700
commite9247e2ce5778678c8d631e26ef79dbccedbe6d0 (patch)
tree3e0397c5da7caeeb1f013820e0b901561806133f /drivers/soc/qcom/smem_state.c
parent0f12fe7f1e660ac3b4bb6917c61c88c96f2be127 (diff)
soc: qcom: socinfo: fix printing of pmic_model
Print sensible string instead of just "(null)" for unknown PMIC models. Also as we are at it, do not let debugfs handler access past pmic_models array. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200525164817.2938638-2-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/soc/qcom/smem_state.c')
0 files changed, 0 insertions, 0 deletions