From patchwork Fri Jan 22 02:34:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 368611 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1110320jam; Thu, 21 Jan 2021 18:36:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJziiumne9sSm16JYuHy51XTk0X2IrKep7FVsZMZUUpGMuhLwNqTegchqsnLhNJBGywe7t5D X-Received: by 2002:a50:aad7:: with SMTP id r23mr1501279edc.83.1611282997799; Thu, 21 Jan 2021 18:36:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611282997; cv=none; d=google.com; s=arc-20160816; b=H33jPnGwMCUl9JsV8NDzrw+D+SrKTm6QfxPHWjtPVYAtdBUYRSAVSHlMnoWsnc8gNb QbStSRhSjfl8nT/iU2UgKpAYf6535mZJs4nJCf/d7OHeDmIuSZrRN38vpCAhY+kMtMPa SZP7fZz4Mia6h6KUxOVT1w+U9K75aXTm83cGuzS/TTS/uSSoLRLLX0iDQfonaBV5ylhA R62/Rf1gxfa+zyWGJ6NsT8MzzjPUdeZnmulpatuPmjV6DsobroITGGxgSnN8FKsFZAj4 5Xvc94wZmMNGzCaxUYwGZlxi5Kn+BK/f2anzTPLdYDVJZhP9G/nG3DTK+GVkyCAe9TgA aLSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1kDimXzA9M9PWHfsqDnWeDFT1MG/Xxfjg/ovLBDA4+c=; b=yUCfKwppUZ+MQ8Yk1WYY62BtYNXUGV7XONhZ+1K3Tus1eIhewjcGX358jDyOfBJaVv F+r3TZZSNeBFVoKBzpRVJOI05iAnfyfOISY8RbmQfvWvZetoJkpurq8tZVs4laoIvd8J XdItjLyUP3/NQnYMgOynrK+EXSnh5gyccPGTBosjcmUnktywKyEBASnqb6mlNQ1E+4P2 S4jqBaS/jEqnEJmEYLgj0a2KXPFVJbHio1jtHacYsPg5LMHHnOwAEilZZMDHQLGtKLbw +Yb2wIITY0ENII9nXzu/9HbIWod3bbNAZDdwso8ZMKShGmjkHyRn2ilLZdHjoY5Witog 8d4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qAj/VV4L"; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq36si2466685ejc.590.2021.01.21.18.36.37; Thu, 21 Jan 2021 18:36: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="qAj/VV4L"; 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 S1726739AbhAVCgJ (ORCPT + 7 others); Thu, 21 Jan 2021 21:36:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbhAVCgB (ORCPT ); Thu, 21 Jan 2021 21:36:01 -0500 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60AF5C0617AB for ; Thu, 21 Jan 2021 18:34:12 -0800 (PST) Received: by mail-qt1-x82c.google.com with SMTP id o18so3147554qtp.10 for ; Thu, 21 Jan 2021 18:34:12 -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 :mime-version:content-transfer-encoding; bh=1kDimXzA9M9PWHfsqDnWeDFT1MG/Xxfjg/ovLBDA4+c=; b=qAj/VV4Lrl8K+W4pjf254aWoi5EfYLj0YKA6oao5JlTjig5hlRgAI2cGjPgWmqZgFY LFeSMCW+sd90dt/vsqN8J++wdLKvW7dEkBPw6mQmxoUPBHQNIVZAn6Fw27r4t4yIxQNe RSjZfk5rT+Aj3cKCsYQbizUo9e46Hti2LqTGvOq9Ua91pCCzkPZ/llHTwO37yEaUWuNF RBKzqmWDC1Nz1J5r/ma2c3wleiy1wQUFC/DE4c6NXiBW+5G2xw8/o/XoX2GssNUW/Hz8 DdAHRUUCb1Hwin50B48SQnzhiABzUG+RCKgxf8KCugYYs3d+uJMZKLNzBlaGaSju+SRR sX0A== 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:mime-version:content-transfer-encoding; bh=1kDimXzA9M9PWHfsqDnWeDFT1MG/Xxfjg/ovLBDA4+c=; b=rz2JM8Q6YIypa0E5vY7FinlEZZO1ByDihEr9lHobfUm+uh2A0xQ/9+BAxesOzunWG/ dyHZK4mFkrXvHGiBzoj3fy/2AMdGhBdG2+b11CBHNwJiiacSouVBiLSEkG90iHlPTITD xhItdtF8VZyhjkmVg+P8UOuQC996ZSs4HLQwnks7FyFUhEWc/tjeRGstKfRok2fNzkpD QqmcMcTKlM5DpV+WUwomIMd2cELHBLr+r+XXOq1vUIPOe/1JjvmJ3py6fcp0BEcHG6DH Gh5LTdIHxQ9zTQosCFZqz1V9Lq5K6oV3u0TDVYt4Zucx4F49cRL9na9Y6YFYut1HK8lX dXOQ== X-Gm-Message-State: AOAM531nuaD/BjGViqYhcKlPWcPBBWA9bfY6M/kiNTbPm0Kn8HJIgchw 7dfwxVQrW45AWg9vyA18b40JdQ== X-Received: by 2002:aed:32a7:: with SMTP id z36mr2577143qtd.251.1611282851670; Thu, 21 Jan 2021 18:34:11 -0800 (PST) Received: from pop-os.fios-router.home (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.googlemail.com with ESMTPSA id m13sm4846025qtu.93.2021.01.21.18.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 18:34:11 -0800 (PST) From: Thara Gopinath To: rui.zhang@intel.com, daniel.lezcano@linaro.org, davem@davemloft.net, kuba@kernel.org, luciano.coelho@intel.com Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org, amitk@kernel.org, nathan.errera@intel.com Subject: [PATCH v2 3/3] Documentation: driver-api: thermal: Remove thermal_notify_framework from documentation Date: Thu, 21 Jan 2021 21:34:06 -0500 Message-Id: <20210122023406.3500424-4-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210122023406.3500424-1-thara.gopinath@linaro.org> References: <20210122023406.3500424-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Since thermal_notify_framework is no longer supported/implemented remove the entry from sysfs-api.rst. --- Documentation/driver-api/thermal/sysfs-api.rst | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) -- 2.25.1 diff --git a/Documentation/driver-api/thermal/sysfs-api.rst b/Documentation/driver-api/thermal/sysfs-api.rst index e7520cb439ac..d5b6ca812873 100644 --- a/Documentation/driver-api/thermal/sysfs-api.rst +++ b/Documentation/driver-api/thermal/sysfs-api.rst @@ -743,17 +743,7 @@ This function returns the thermal_instance corresponding to a given {thermal_zone, cooling_device, trip_point} combination. Returns NULL if such an instance does not exist. -4.3. thermal_notify_framework ------------------------------ - -This function handles the trip events from sensor drivers. It starts -throttling the cooling devices according to the policy configured. -For CRITICAL and HOT trip points, this notifies the respective drivers, -and does actual throttling for other trip points i.e ACTIVE and PASSIVE. -The throttling policy is based on the configured platform data; if no -platform data is provided, this uses the step_wise throttling policy. - -4.4. thermal_cdev_update +4.3. thermal_cdev_update ------------------------ This function serves as an arbitrator to set the state of a cooling