Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938727AbcJXT1a (ORCPT ); Mon, 24 Oct 2016 15:27:30 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34293 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbcJXT11 (ORCPT ); Mon, 24 Oct 2016 15:27:27 -0400 Date: Mon, 24 Oct 2016 14:27:25 -0500 From: Andy Gross To: Stephen Boyd Cc: Zhang Rui , Eduardo Valentin , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, "Ivan T . Ivanov" Subject: Re: [PATCH/RESEND] thermal: qcom-spmi: Treat reg property as a single cell Message-ID: <20161024192725.GI3145@hector.attlocal.net> References: <20161018234019.5489-1-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161018234019.5489-1-sboyd@codeaurora.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 498 Lines: 11 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 > Signed-off-by: Stephen Boyd Reviewed-by: Andy Gross