Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1756812imm; Thu, 14 Jun 2018 03:26:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKeArH5IO3FLl+su/hlzogg9sUOO5ISiyHDr2mZtdjIIHiJ5MfvWvtvH6lUnbIkSpZw2DFR X-Received: by 2002:a63:7943:: with SMTP id u64-v6mr1742450pgc.411.1528971971661; Thu, 14 Jun 2018 03:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528971971; cv=none; d=google.com; s=arc-20160816; b=ZQvYaHGSLttLb8KJT5MGCkxcx0zPPxERIgEaOZID+GiinpyaIMeGS0pAJs1o6pmpeB k1bhobecPmqSGpSGZoNX6JMelmfMX0NDjvFGJyDtu2rS5sH7ny0b5kozONA+levlCebI 7OfajSjK1oK/miRkUUrt8P2fUXJ+3t1gEEyYYQ7u+wdGCJmHklVkzd6/Zd9e3CrlefYI gj8MnKi3IxOIJ8pxbsqxFh2wsFV74nWEBN2y+3R0400xS3CQ+3RASoRKG1QqGinl4tIF psQKnttq6TU1JG9k/ujv/OcHfVtT63Yvwzfzt4qs4+yXQUEUtog53S52N7zVctZGnYcs 7Hiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=wnflG2aBnyI8GjFoUmfOpIre9X1X/Xm32vc4nkC5Mos=; b=gkRYUdnjEiOb2hbPJThHustN1HNfA38nc0Xi1m11dq8LsBz3+sL4VIMAB4/rmaFRQ0 MTJr1XyLpASf0MXzNWDEQNhgv8kxkBUQrt54eqoExarKOz7irHb8vBdM+hHP6cCa0rVU eTcR/aimtJuF24gc3huszDmXF28hoIF6EBgi57z+Hom7wWKsHV5pWqraVwOJEhsPoTn/ znQ/wQMmEQwrGBppY5qkHUth+/OFGS/lS7wTi82+MyNSPERrTY2q6d29w+iwLvX5S9CX uoUaG8KLtr3LI8CCX9P0eo1uWlDvG4b63UKprWDVpNDA4/5GNI44qend1idzdAI88gst pTPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=BakT3tsU; dkim=fail header.i=@linaro.org header.s=google header.b=jVOgkht3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17-v6si5263263pfa.170.2018.06.14.03.25.57; Thu, 14 Jun 2018 03:26:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=BakT3tsU; dkim=fail header.i=@linaro.org header.s=google header.b=jVOgkht3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755034AbeFNKYf (ORCPT + 99 others); Thu, 14 Jun 2018 06:24:35 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43309 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754937AbeFNKYa (ORCPT ); Thu, 14 Jun 2018 06:24:30 -0400 Received: by mail-oi0-f66.google.com with SMTP id t133-v6so5154750oif.10 for ; Thu, 14 Jun 2018 03:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wnflG2aBnyI8GjFoUmfOpIre9X1X/Xm32vc4nkC5Mos=; b=BakT3tsUx43+taYp42f8FVxjI0JAN5FF7L2NdzjYIE+E94+AkZ5iZD7PEhpel5emps 8dO7Ylo8O1Fn80VRlX4d2RNf44GlwAAM/UFXd7cBmGWMkT1J+hCVpHJ9pHF3khQRaCAW v6+dW4NfZtSZUoP3RyntpvetwTnqZrpMlzcTbjLQTvKzGhMujQbcn8aEN7cbiN6ZrhYP dmjX/HCQQL2b+sCEWd+gHttDyFQ1CLqNkgIMgL7nKocLrhlv4hLVjxzL8o1hyXeG9rAC pToOf0sDFxkTq6jmmReEWODeFrS4SpECIBkDE5qYcZTP/kaUcsU+Nir5l//quaKaqyi+ oIOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wnflG2aBnyI8GjFoUmfOpIre9X1X/Xm32vc4nkC5Mos=; b=jVOgkht30VfKVqnYeU9MJoVXx+GJq3VjFwlSp27fIcnBzA+Iwda/xneXrCbojr/TzS Q8Em3nNaCByDKnn5lUIG2rueMxjyW/RkjmAm34c8yjF2vKniDrsq0XbqYw71lh+03q+U /Sa411feLo7nocZ7AHyVDieJk/bdqOqLA1T0Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=wnflG2aBnyI8GjFoUmfOpIre9X1X/Xm32vc4nkC5Mos=; b=bpxgs0+R5eVvosdMNbDkuB3rQ0x3fxadqFDVbib5XN6bQuM595A+lu0wGUdDFajJKc Zv4j47YcunKjaOcl/EdC4tlJQrd+wCjHH1YsZTVDo+CUtcUv3a3ohfPxfJ+B/SBSgi7x PvtTnf4QARWZDysWS1zTiUwlTJtjHsCVPR+Asm8LwvwkdxRALvNFBa6qyqiq9lTxd0EX se/oilK3ah0QLejCUiXD8EO/8tJN7t86EvLcGX7w2hk39pXJFri5QudapOV2g/kjdyCE YJZXTGk/PTHf91UnldxGWXVHdGnJXg9nbi+ZrsQTXVxHxNsgWyBOtRO2ImGgHEBROyyI X14Q== X-Gm-Message-State: APt69E3yVg6YGaZYuAIELBRaIiPpzEoxrrfAm5xjKJ267beZnnz5w+VT 4B8ULxSW0YiMala5Ju/N0Mm7YmxXAKra83DcGGDoRA== X-Received: by 2002:aca:d655:: with SMTP id n82-v6mr793593oig.287.1528971869417; Thu, 14 Jun 2018 03:24:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:99ab:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 03:24:28 -0700 (PDT) In-Reply-To: References: From: Amit Kucheria Date: Thu, 14 Jun 2018 13:24:28 +0300 X-Google-Sender-Auth: DiFYi7riYBRLC2uoVjA-w5gA0dI Message-ID: Subject: Re: [PATCH v2 4/5] thermal: tsens: Add support for SDM845 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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