Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1822733ybc; Sun, 24 Nov 2019 06:59:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw5cGN9ATHyCuTxBPhfJpIm00903YYSGiJlsM1e1j0Sk7K3jWd1Xs42nywUzb3qte5YtUkw X-Received: by 2002:a17:906:69d7:: with SMTP id g23mr32140459ejs.20.1574607553875; Sun, 24 Nov 2019 06:59:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574607553; cv=none; d=google.com; s=arc-20160816; b=b39Y7uRgdlxWWXimECd1fsYYq7SOcggjBAV1SookIfusy4m+gSN+kAi+tSo8McTdJs B/O/6iyJ+xLwHUUbiIXiAQLw+FhQnMhMNuMzBAZ+IPz91LauG5IJKu92xZrPh1JrDw3S CQQKMXrRq+AXVARDqXeK6ELjGTasYVPhHVLZIUoG8/xt6iK0bxxI4jR5x1aG3S1C9xi7 ACNDEajJsLpoe7tKoFTIZ6QLNemi9YheeRnZp4hJYvCm46TLnj7X1JcCgKl1rPlNQNY7 i+BNaVi5AR+VeWxPoO4Gk0JI/aw7pQtKh8n+vkVh4oHVatin5GdUNB+7aP0XffI3dAyT H/Sw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=SfWsOmQE/r0rnoMiC9E/xzw8dmYppncobr92itFVVSs=; b=RWdPmYjxQ6+YU5ooVJhP0z5z6OUJHXYMcgNGWKOBnYEwHaXE6W0nRB3Uifuxuy557U fYnOnHxFTJLcpIZxJLMxcCA+MFxMKa1v0X7VMwkjTXKMk5OJ25qxKEeCGquOkWTq+73B thjTMEmnGR33ig7Waz4HvQn23yFfX+lFeUSgyjIiwjXeNmlhREtRC3O/KoCg5B6/QfRf 3Td8AUx1SSUI++FhxFG82ZutdNQVRNbgpa6gD5vSVPbwK3dZ5rP9aGST/sLapxjAjNy2 hkRwBT3/Erhr6Xkz9Kvh9ZDhIXegnzBaJac6o93IVV61CzxurociwAXrdYZZMC4XyRHM vZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IsG6iwop; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si2774536edq.55.2019.11.24.06.58.38; Sun, 24 Nov 2019 06:59: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=pass header.i=@gmail.com header.s=20161025 header.b=IsG6iwop; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbfKXO5Q (ORCPT + 99 others); Sun, 24 Nov 2019 09:57:16 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44171 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbfKXO5P (ORCPT ); Sun, 24 Nov 2019 09:57:15 -0500 Received: by mail-pf1-f194.google.com with SMTP id d199so1357900pfd.11; Sun, 24 Nov 2019 06:57:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SfWsOmQE/r0rnoMiC9E/xzw8dmYppncobr92itFVVSs=; b=IsG6iwopTfpkSahUG6WT0yB+bF7hDW/WcOu4iU3POG1cggRa/nihBOenHTteUKComn QVl0DDjCxmf9EE7EenT2oriblVHVJ9/to9q0OQEwuehzdoRMQcUSxvjQawTzu/j/BWcV MPrVab+hfkO/mCUxfHkxLvEhsOC+zpWxDEFHOO9VxZ8w97dbccUR4GgTL9NEz+eg6BpA rYFXlupkxzoVEdLBQZDXL8kaEzwZu0rfxnwMnxtTMsQQrlaJTrrGaDw5jxxzZgZfj8iy 5tJ/5KgbWrEBCceGl9LLkyc5KaRyMS/shAiHnlA8Z1oCKKu30+Xwsk7Fmix9T8eI0cY9 y3wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SfWsOmQE/r0rnoMiC9E/xzw8dmYppncobr92itFVVSs=; b=tmYcT8ZMa+3vE37DKlZEL3ol//P+6FHDUVUVyj0KKnHqUvhcg9V6ol5NuwmHvM+I1v jMuXtNh4yh1ZTsNdlke4j3frWL7e6Kv5g8tcFDwbnIpRgSSJqrpZPtNlqa0RPnJM8fA7 d4z7igs55SpSoU2R5zUYH1HfOjQBErEbis2yzF/oXdVyYAdFyiY9cNScXXSbtjXpQ1Ev 5OP/8W7MTlpbk92p19NCHKpJIMzWP1qXufepkQKdRLe5N5uiOn/Rm/jn2pDU+CrMz3iF abuAHpcNBb3KYdLIMrhgDz31EUYWRQKFJeSs5GaFVh/Bpgajz+jAwBec2Q6STWLtsbzL MpgA== X-Gm-Message-State: APjAAAVVHl4vgWn1E4DY18+23g2FNwZ2zByZG003Cu0ybEdN+HRE2Cjq PWH9MEhVCeHmUNndJUSfLDsHOjANQNJeITVx6DxrzN+E X-Received: by 2002:a62:7590:: with SMTP id q138mr6261090pfc.241.1574607434795; Sun, 24 Nov 2019 06:57:14 -0800 (PST) MIME-Version: 1.0 References: <1574604530-9024-1-git-send-email-akinobu.mita@gmail.com> <1574604530-9024-2-git-send-email-akinobu.mita@gmail.com> In-Reply-To: <1574604530-9024-2-git-send-email-akinobu.mita@gmail.com> From: Andy Shevchenko Date: Sun, 24 Nov 2019 16:57:03 +0200 Message-ID: Subject: Re: [PATCH 1/8] add header file for kelvin to/from Celsius conversion helpers To: Akinobu Mita Cc: Linux NVMe Mailinglist , linux-hwmon@vger.kernel.org, Linux PM , Linux Kernel Mailing List , Sujith Thomas , Darren Hart , Andy Shevchenko , Zhang Rui , Eduardo Valentin , Daniel Lezcano , Amit Kucheria , Jean Delvare , Guenter Roeck , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg 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 Sun, Nov 24, 2019 at 4:09 PM Akinobu Mita wrote: > > There are several helper macros to convert kelvin to/from Celsius in > for thermal drivers. These are useful for any other > drivers or subsystems, but it's odd to include just for > the helpers. > > This adds a new that provides the equivalent inline > functions for any drivers or subsystems. It is intended to replace the > helpers in . > > 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 > --- > include/linux/temperature.h | 39 +++++++++++++++++++++++++++++++++++++++ > include/linux/thermal.h | 1 + > --- a/include/linux/thermal.h > +++ b/include/linux/thermal.h > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > #include > #include I don't see any users of it. Why did you include? -- With Best Regards, Andy Shevchenko