Re: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell

From: Andy Gross
Date: Mon Oct 24 2016 - 15:27:33 EST


On Tue, Oct 18, 2016 at 04:40:19PM -0700, Stephen Boyd wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Reviewed-by: Andy Gross <andy.gross@xxxxxxxxxx>