Dmitry Baryshkov e9247e2ce5 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>
2020-06-23 12:43:47 -07:00
..
2020-06-04 19:56:20 -07:00
2018-01-04 17:01:53 +01:00
2020-06-04 19:56:20 -07:00
2020-06-04 19:56:20 -07:00
2019-07-19 17:13:56 -07:00
2020-04-03 10:49:52 -07:00