Received: by 10.192.165.148 with SMTP id m20csp3923361imm; Mon, 30 Apr 2018 08:38:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpB02OxvYHgCyKjzDTcqSQvE0iXY3EbWATKfNSxrdlMqpbJuW+6dptN0DznZ6vIn+FxGlGk X-Received: by 2002:a17:902:68c5:: with SMTP id x5-v6mr13093483plm.194.1525102729683; Mon, 30 Apr 2018 08:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525102729; cv=none; d=google.com; s=arc-20160816; b=kLvcevDfAThaK3hyJsqW3KYHmC2ODpxSMKF3ClFdSpEEmGhutq4C7q+nNzhiqTeeNY 465yYwfpHEPbYUEhRhq1f9Zkz8JwMwPq4/DFyLDbuwpLHx7kNYK7l9bHhhSRs58k7uI/ CtIsqTAxuBI21Hw6RmaJm9ci936a22HSAgKtP7AhD10rt0m60foNUJf79YVGlWQyv2VG RK96YqubnNQe8Plc4jofshja8nZfkXzIn7Fw3CfBrCVgntNJXCaUrv/KPxlXFWImADX8 VFjGbkQdgEMIHTxftFZ16QPjV0Ul4j3N2CkrgVWGnRaT0qN5beLJElNA9KhM+Bes534T mVkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=vPo/FKrOTJ1hX8khLOinE/A1dMDd3Sh96O4jWOkTTWw=; b=Bkft3msWasl++R87BxzRBTS6ikgBH09Q1NMY7x+u9JSy6p3HKQZhwYil0ZcJ3DxH9p CpvMnRwxMCq72RZzvZf71YPrtzpcFcX8JiEmEwvaoOjjnKxtuZvwmmSv7qpHI/tDCZto xCe1NLO8iTwdjxCNBT95W7GRGNbbZ+dKvKYfva/IKdreFS1Kz3Ede0m69Qphl2cCuds1 NP2EwFe4O48GOS5z8XwhgPj0D2uDTCTXQvZH++yi4FcgeU5+SblzsG+vvuq9ajTISEOt h0lyUPAUfi74ZeaJaNkh9AtKSb0xuJjw8c25fJB9jFa7wmkzK0CDRsk/g3A448Jr3KSN vWKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CwC67yHD; 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=pass (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 d12-v6si6359359pgt.175.2018.04.30.08.38.34; Mon, 30 Apr 2018 08:38:49 -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=pass header.i=@linaro.org header.s=google header.b=CwC67yHD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754601AbeD3PhJ (ORCPT + 99 others); Mon, 30 Apr 2018 11:37:09 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45520 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbeD3PhH (ORCPT ); Mon, 30 Apr 2018 11:37:07 -0400 Received: by mail-wr0-f193.google.com with SMTP id p5-v6so8443820wre.12 for ; Mon, 30 Apr 2018 08:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=vPo/FKrOTJ1hX8khLOinE/A1dMDd3Sh96O4jWOkTTWw=; b=CwC67yHDKnIZA2eIAiRXfDFzQeV75MaSRhVFn3FMGfBS+yJpwzN8i4uGtl99wQcSHB MknZMUAv2JZbHAArhmUUpfP7H7VYMS3xEi+pjAEeaTAs7oxrbOhoUbg7EE1Dag4kMBr/ kYZ6c53Up3yk53rCMhCpespzpNLY0rgGtZT3s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=vPo/FKrOTJ1hX8khLOinE/A1dMDd3Sh96O4jWOkTTWw=; b=aFSZgPfZ6w7QY+SgsmuNU6u8x+//LKx8f47/DSy5VSz4KFLVPxkYm2zQqiT7USvd57 IBzyqBFHjtQtV9bvg/pre1dEq3Tvu7+v4ktJccMUZwLvlXGr47kL0mHxCJWWoJVJmam2 Y0rBZSPNFkYAHq7/qB6KmN0G3voZITuu8xqeYVsVsJyh+ZDd2fmVJGQCBw7cslSh4xyu I0RDk0gxGsj/Wdrnclsreik5jYU/L9x3TnJoDGjVnv+Qpb5a61yq8QHQCTGwj0T24vR6 EDHpcApD7F8OwkUaaNmkg4xObodjKC29TPYxnF3zIi5HrnYJGBuuZGLRLzWAsMPqzsoG sg7A== X-Gm-Message-State: ALQs6tCTeWR3L7R5ETO99LFayYRYtTjrwEdIJ3WLyDq1uc1ee19IXSiL A1Xah9bsVwMlGTeVNrNvQJXz4A== X-Received: by 2002:adf:8827:: with SMTP id d36-v6mr8827890wrd.41.1525102626535; Mon, 30 Apr 2018 08:37:06 -0700 (PDT) Received: from mai ([2a01:e35:879a:6cd0:3e97:eff:fe5b:1402]) by smtp.gmail.com with ESMTPSA id v66sm7866936wmd.4.2018.04.30.08.37.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Apr 2018 08:37:05 -0700 (PDT) Date: Mon, 30 Apr 2018 17:37:03 +0200 From: Daniel Lezcano To: Bartlomiej Zolnierkiewicz Cc: Eduardo Valentin , Zhang Rui , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/18] thermal: exynos: remove threshold_code checking from exynos4210_tmu_initialize() Message-ID: <20180430153703.GC27619@mai> References: <1524743493-28113-1-git-send-email-b.zolnierkie@samsung.com> <1524743493-28113-8-git-send-email-b.zolnierkie@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1524743493-28113-8-git-send-email-b.zolnierkie@samsung.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 01:51:22PM +0200, Bartlomiej Zolnierkiewicz wrote: > On Exynos4210 one-point trimming is always used and data->temp_error1 > is equal to 75. Therefore temp_to_code() will never return negative > value for the reference temperature conversion. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/thermal/samsung/exynos_tmu.c | 6 +----- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog