Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1839718ybc; Sun, 24 Nov 2019 07:17:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw9hcObn/LDfOYwQA8EnXouP8iLRIQfeV+LiFlo409M1dMw4O0/7tKrmF5irKdkagRLmW+z X-Received: by 2002:aa7:cd98:: with SMTP id x24mr13246607edv.171.1574608633286; Sun, 24 Nov 2019 07:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574608633; cv=none; d=google.com; s=arc-20160816; b=rFiK0zVNV7DJR6l6M7H0RvqgXJ6y7KgQPIRWZ5ahiuzD7dqOyNyXnSVSgofhCNEMO3 zIsOz1pyriVvMB79OSOCLcWhx7vjAANzU7KdPCh2d4gbTyS26WUGYgNIZ70+CLGUUdsv nSOdPQreR5JH1lFmk6DMksyzNm0DnBBD2tbTLetkYxKUPxsIdARl5DT7JEQEwFAdh5CR 0ZhhsIinrsATLZFMY4WdM8/vXigsQZMg0sxHT7/TJ0bUg3ytu1Iw+yaO86+r2gQhznTW 57DgVjoQqy6HozvvM2phYlyFb35k8jp4bTVuluduF44AR5Jk96KMuxR++ktPzqubpWRo t7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Qzs3qOs+XveSh8n886wzuYL0vjKGt4gRKMHsUcIFuF8=; b=IyD5Fv7UPfHd+e5wGt3nsCT3EDkZM3nbzt7RztYPjXOqmI+lnwN3EqyMrDt2LqZ4TS Qpdi5ONe9UUpQhiDRxl3jdN+rLlR4oFl1+yoeBPu5Z+1uLvzYxNh07l63BSXyqOnXu/I u3DpvJ52m/jxk7Pj6dTf4OFQ9JWKYQf4iz09ADEbDXNBglgRYOPXuikq7F9s1K5kuBCN m2jynU5+v1yPMjsd+WpAjmcXfMWwA83sRr/3VpEK4qGxnMIgODbNex0olDNKUNyBxCmL ZhbUIkPCLqH6e2uvd+pnXZ0G8XGD2uxkxN//mEelXxIJ+23BrzOIQR+B3a0G8ZqZjPCw 9Slw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=SRYABA2T; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si3016334edm.332.2019.11.24.07.16.46; Sun, 24 Nov 2019 07:17:13 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=SRYABA2T; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726998AbfKXPPc (ORCPT + 99 others); Sun, 24 Nov 2019 10:15:32 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:46750 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbfKXPPb (ORCPT ); Sun, 24 Nov 2019 10:15:31 -0500 Received: by mail-ot1-f67.google.com with SMTP id n23so10336439otr.13; Sun, 24 Nov 2019 07:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Qzs3qOs+XveSh8n886wzuYL0vjKGt4gRKMHsUcIFuF8=; b=SRYABA2Tum5SuAFt4WXZp4belYwreF4wclr+XhQfpmQeUO5x92Ow2l0Bf2Xo3ywhkT +JyxiwhYfzFh0QqushVwjUtpeNLz3imZqfnPeyJdqK1l3ojw2jc/Lf2Jof79vU51NhlY xEGMIDFzQT7pTgI8rY7t29tbaqEPP0mk3QG+svqyaHGcrwLKXPuloISVKXCmvbv+Le4c j+m5ur5dguI05sEpcNsNUoHsNZXyvL1xxDpkaRmppgeRnLZ8PbBEGR5fgOPZAifu0cYj uFYFSzMm1ThFcyzwiR3dd7jrYxgUx0Ss0jMbhzFwSfuQ/NZ2Q3y67Kb2jq7BVFrNlJqZ YMfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Qzs3qOs+XveSh8n886wzuYL0vjKGt4gRKMHsUcIFuF8=; b=QtmzZJfDAkbMpEfp3dTkTjMqXDB0FHywR6BHVesqPz1qXu54/u1nJ5ecIpxIiYiwzh eVM061/sY29u7S4uexBJXHFY9jIVnxTF5bs6RCIq/I7ynt7+Mph7RscHa80e7YInkKKu 4FProLk0jd+7unr0YoKBNHlU5xiUa+g01EMRnELjjMAdYP7lHYNdS+gle6HT9TgDPFsA sAVN10elHYpsxl9gtnnI/HZOizKfEyQV4rHr1/Og62+qZ61Z5f7nuAvaQOsC7gO1mM2L Qk9IvZvcfGZDUbZlqKb7XrIPsotibRtPjxaxtKVFKwWJNqp8qFLQ2P1HmMj2S3kChKa8 wKxA== X-Gm-Message-State: APjAAAWFN9eR/1+2IXHhenbk/8RSYUaJbsUGRPQOLSktA+2T59WT58EJ eqtvYTAk0AZQ/Q5YzibF2ME= X-Received: by 2002:a05:6830:4a2:: with SMTP id l2mr17478845otd.192.1574608530753; Sun, 24 Nov 2019 07:15:30 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p3sm1394479oti.22.2019.11.24.07.15.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Nov 2019 07:15:29 -0800 (PST) Subject: Re: [PATCH 6/8] thermal: intel_pch: switch to use helpers To: Akinobu Mita , linux-nvme@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sujith Thomas , Darren Hart , Andy Shevchenko , Zhang Rui , Eduardo Valentin , Daniel Lezcano , Amit Kucheria , Jean Delvare , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg References: <1574604530-9024-1-git-send-email-akinobu.mita@gmail.com> <1574604530-9024-7-git-send-email-akinobu.mita@gmail.com> From: Guenter Roeck Message-ID: <39b228c3-90c0-5895-9a36-a92747fa7a4c@roeck-us.net> Date: Sun, 24 Nov 2019 07:15:26 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1574604530-9024-7-git-send-email-akinobu.mita@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/24/19 6:08 AM, Akinobu Mita wrote: > This switches the intel pch thermal driver to use > deci_kelvin_to_millicelsius() in instead of helpers > in . > > This is preparation for centralizing the kelvin to/from Celsius conversion > helpers in . > s/temprature/temperature/ > Cc: Sujith Thomas > Cc: Darren Hart > Cc: Andy Shevchenko > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: Daniel Lezcano > Cc: Amit Kucheria > Cc: Jean Delvare > Cc: Guenter Roeck > Cc: Keith Busch > Cc: Jens Axboe > Cc: Christoph Hellwig > Cc: Sagi Grimberg > Signed-off-by: Akinobu Mita > --- > drivers/thermal/intel/intel_pch_thermal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/intel/intel_pch_thermal.c b/drivers/thermal/intel/intel_pch_thermal.c > index 4f0bb8f..3cce310 100644 > --- a/drivers/thermal/intel/intel_pch_thermal.c > +++ b/drivers/thermal/intel/intel_pch_thermal.c > @@ -92,7 +92,7 @@ static void pch_wpt_add_acpi_psv_trip(struct pch_thermal_device *ptd, > if (ACPI_SUCCESS(status)) { > unsigned long trip_temp; > > - trip_temp = DECI_KELVIN_TO_MILLICELSIUS(r); > + trip_temp = deci_kelvin_to_millicelsius(r); > if (trip_temp) { > ptd->psv_temp = trip_temp; > ptd->psv_trip_id = *nr_trips; >