Message ID | 20210224144222.23762-2-daniel.lezcano@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp479784jap; Wed, 24 Feb 2021 07:50:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNnY4spI3fZ9vTO4TboQZlArqpclcW0aZrfd9XAep1Ium1PA1FmjeqDVLiVCnjY4Br2fj2 X-Received: by 2002:a17:906:792:: with SMTP id l18mr30931995ejc.198.1614181837247; Wed, 24 Feb 2021 07:50:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614181837; cv=none; d=google.com; s=arc-20160816; b=seku//lShVzPtjEy0WT+8xtEikRFVbcZsnRG3fYi/lnP224EtGnXMgpbvsNxxF1nBZ LD1ueV7w79fHyRrqxbzNOoFNkvMxh1zkeyl5SFmKqdXJmomSXSg3KrYVtOvF4zGUoHla Ny1XhmJxTdqDGHUm6fOhtuc60OM0Yl+zOA8KLtEJtwL4to0y0fwxIEeFPdlXJRqhXkt9 D2QTp8+jLBcWPv/2l23VQfYQc3lGibzIjaxSP8vdWIu2NNo8SKJNyxdRvJc+EHHAVyKj QRHL9b5j7rQVuS6+dQdcQBXPeLlDOENhmoh+r2uy1Nxe3UzMw8XzmvtkhYc35nzjgouY yDag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=3ID/hgUKl1RSEU96QA4fvwKCcAxvndH9usR4QCrUTSg=; b=NdfdoTKQZJEyaWd/KZN9HyKRRypFf2vBK3OfBndBiSjoxCU+Yd/uGqHSDDBjvuSYF4 v/CTTgTSF7EKT6FQc4n/OdxHx6t0DjpQbubMCjBsVCQQHRWD69mTGiXc7qJ4y4G4Mv9d 7mgwPA+JBtsmhHWfGq1FIUkqcd66ZAUOCMirRVpvD0HDytcpzRzrfFNQG1mGZBZsq2G+ d289UQImyFC58/xQ6XLrs8kJ+Iq1qqznYeTaHzj5Cawm+M4HzaBjzFr48jwEaj7SVJY/ BTxeCB0kt//N1yuKdewo6DnYPLIuQg/66xMRbKNeiBhY5SI26TJrwFjeJcwCMmcDh6b0 8AEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eMxXV1Fg; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-pm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hs7si1660903ejc.128.2021.02.24.07.50.37; Wed, 24 Feb 2021 07:50:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eMxXV1Fg; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S232821AbhBXPta (ORCPT <rfc822;jun.nie@linaro.org> + 7 others); Wed, 24 Feb 2021 10:49:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234227AbhBXOnn (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 24 Feb 2021 09:43:43 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BBDBC06178A for <linux-pm@vger.kernel.org>; Wed, 24 Feb 2021 06:42:36 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id u125so2026695wmg.4 for <linux-pm@vger.kernel.org>; Wed, 24 Feb 2021 06:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3ID/hgUKl1RSEU96QA4fvwKCcAxvndH9usR4QCrUTSg=; b=eMxXV1Fgj/2c77+pZ1G2PmcAqH1R7S8K6jKMxhWmVffCbLwYmqDCbjUC7ilBJY5N6L C6qoKcbIOEZavTSJRQRD2PI36JJBDZw+Iu9TljIiWxNK/VB1RTC1emqDmMHV3M7Nx0zO H2/+skGmZ4CuHIVoriuud2Bm433BVpq2nfvjLFT9F50BsWSlX3P5t72wwasheAMw5DAN K1EAEqFkEa3NF0MF1qwHnC8tiaK2JxGPWCf6bwqoWQ3exO8/zqIHtN2EZLJmSLgIx+Z4 TdR5WfnnrkWDjIvFoi72ikk0T+afh589Sv0OVtpyP2yF/fZJxd6Mo1Pkr77r3+8bAkB/ 6OHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3ID/hgUKl1RSEU96QA4fvwKCcAxvndH9usR4QCrUTSg=; b=l67tWqA/banAnBC7ykc4w3TrcolSpxC5DxktEZPR2zgdtDEJTQO30wHN7K+EyasOzY xGfc81psC8/dvdz1uF7+qiod59qp1CfIte4WEVDWm6Y2CAxgEu0oSKfQaxuEET/+SP/R 19HobdbW7CAKYvGTzgfK47gTKRO8Hz8hbXBeZkLOXUZEi/9gCZw0GUCDBV4+MGEcVCF0 IxtNuJs2Je3/mfTum45U26YytFVzBcdiaRS6IO5HPNP9ezrEbTnf+InW7KxHIjQWIsSy UbPKtGMNF42JD6CjXC5BuZat8knsELQKs5crHdipqNTlK9g2po2Guc9IFd2DZYevQXzi 6ipw== X-Gm-Message-State: AOAM5339r1oYfkyxFl0giV2iv6jDcbcmOTT4/4XfqgEB94JBRMrtCv9P uwC4lHC6Lat0sxFapLY7ZibEMg== X-Received: by 2002:a1c:9a48:: with SMTP id c69mr696200wme.157.1614177754622; Wed, 24 Feb 2021 06:42:34 -0800 (PST) Received: from localhost.localdomain (lns-bzn-59-82-252-157-252.adsl.proxad.net. [82.252.157.252]) by smtp.gmail.com with ESMTPSA id p3sm4170669wro.55.2021.02.24.06.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 06:42:34 -0800 (PST) From: Daniel Lezcano <daniel.lezcano@linaro.org> To: rafael@kernel.org, andriy.shevchenko@linux.intel.com Cc: linux-kernel@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>, Amit Kucheria <amitk@kernel.org>, linux-pm@vger.kernel.org (open list:THERMAL) Subject: [PATCH v2 2/9] thermal/drivers/devfreq_cooling: Use HZ macros Date: Wed, 24 Feb 2021 15:42:12 +0100 Message-Id: <20210224144222.23762-2-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210224144222.23762-1-daniel.lezcano@linaro.org> References: <20210224144222.23762-1-daniel.lezcano@linaro.org> Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c index fed3121ff2a1..fa5b8b0c7604 100644 --- a/drivers/thermal/devfreq_cooling.c +++ b/drivers/thermal/devfreq_cooling.c @@ -19,10 +19,10 @@ #include <linux/pm_opp.h> #include <linux/pm_qos.h> #include <linux/thermal.h> +#include <linux/units.h> #include <trace/events/thermal.h> -#define HZ_PER_KHZ 1000 #define SCALE_ERROR_MITIGATION 100 static DEFINE_IDA(devfreq_ida);