From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Kucheria Subject: Re: [PATCH v2 4/5] thermal: tsens: Add support for SDM845 Date: Thu, 14 Jun 2018 13:24:28 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Vivek Gautam Cc: open list , Rajendra Nayak , linux-arm-msm , Bjorn Andersson , Eduardo Valentin , Zhang Rui , Rob Herring , Mark Rutland , "open list:THERMAL" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" List-Id: devicetree@vger.kernel.org On Thu, Jun 14, 2018 at 9:48 AM, Vivek Gautam wrote: > Hi Amit, > > On Tue, Jun 12, 2018 at 4:24 PM, Amit Kucheria wrote: >> SDM845 uses the TSENS v2 IP block >> >> Signed-off-by: Amit Kucheria >> --- >> + >> +static const struct tsens_ops ops_sdm845 = { >> + .init = init_common, >> + .get_temp = get_temp_tsens_v2, >> +}; >> + >> +const struct tsens_data data_sdm845 = { > > Just a minor nit. 'static' here? Thanks for the review. This file just went away in favour of a common tsens-v2.c that will support all v2 SoCs. I'll be sending out an updated patchset soon. > >> + .ops = &ops_sdm845, >> +}; > > [snip] > > Thanks & Regards > Vivek