Commit 7fa4492e authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

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.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent b2edce6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment