Commit cd323b2b authored by Stephen Boyd's avatar Stephen Boyd Committed by Zhang Rui
Browse files

thermal: qcom-spmi: Treat reg property as a single cell



We only read the first element of the reg property to figure out
the offset of the temperature sensor inside the PMIC.
Furthermore, we want to remove the second element in DT, so just
don't read the second element so that probe keeps working if we
change the DT in the future.

Cc: Ivan T. Ivanov <iivanov.xz@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent f05f4821
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment