From patchwork Fri Jan 22 02:34:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 12038185 X-Patchwork-Delegate: miriam.rachel.korenblit@intel.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D30EC433E0 for ; Fri, 22 Jan 2021 02:37:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6114322DFA for ; Fri, 22 Jan 2021 02:37:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726711AbhAVCft (ORCPT ); Thu, 21 Jan 2021 21:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726683AbhAVCfa (ORCPT ); Thu, 21 Jan 2021 21:35:30 -0500 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 178F7C061788 for ; Thu, 21 Jan 2021 18:34:10 -0800 (PST) Received: by mail-qt1-x833.google.com with SMTP id e15so3149563qte.9 for ; Thu, 21 Jan 2021 18:34:10 -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=9OyF+mVHzBowT5jqUi6kq26BNOfu/Lyfr/uYmIxESS8=; b=e7RWnXHOcw/3PQCB00HU7sxPvSclJhxoYRgoKz0d/dKiS6EqYh7TNYR1er4uolrHLL RuqUzCaVpJIW6S9aUgQIHyKHQbf0BQrFavk7waFp400P62cbph6gg/o+VN5k5v/jN4sj efXykNCYVKgxzCISlAOs7H1IQIUX0Ac1gBA8Tj8r7UrleYu49wtISkTUR9x+0OBrU+QG kSpDS5uzE5qpaRq/rujVXvIPdPEhCTHd/8TDd3H6IWPluP9sSvQxA2XZCth5Oow6Bp09 YAfRE27YhPtgtejxpYdpNgtyc/b5RJQOprFavaYHL2T/MAEHRNkqJVO3AdU26zQCc9p/ tYKg== 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=9OyF+mVHzBowT5jqUi6kq26BNOfu/Lyfr/uYmIxESS8=; b=S59ob1OBN059MeyJOflf05t8m2Y3OIsdjdJ9TBYz0gLk/f1vXBLzrlaP+xYq07MRrI Aaj0jRoL31JWUb/MazwnFQWA40GAOXjTJyUYQH7IfRLMOp92pJnq1/KcPgQWcnywP7Xr z9K10slPMV+nrNiia/yyaLFHNCPf+HFVZacU6S57cK7Ocy9UtppUstbpLgEOmuGTqZQc L4GArHodm8IFB7n8OWV08rR6JVMH2Rg5Cy7OX3glt5XNyx7TaGkLw57V2XLZsr/7JPCO KpbEVUyXZl4lBG0yNDR7NK04caebHOsklAF7XBff7r6MN1RbrVeLeoaLTNc+5tEACiQm cQhA== X-Gm-Message-State: AOAM531ZPQcexC3SSu03VGOo64evvyxPACbUZXSZMaV9KnWPV7ZH3hs7 jJJ+bJxxQ9q4UnL9MWYkAtlXyaAwQZJcoQ== X-Google-Smtp-Source: ABdhPJzMn5NmRbsF8RVmskQp97PXferlsocWp8+O6q4zI4VfwkzFgT8J6fDfp+xrFGVjx1n2vHR0eA== X-Received: by 2002:a05:622a:1d4:: with SMTP id t20mr2479725qtw.281.1611282849348; Thu, 21 Jan 2021 18:34:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 18:34:08 -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 1/3] iwlwifi: mvm: tt: Replace thermal_notify_framework Date: Thu, 21 Jan 2021 21:34:04 -0500 Message-Id: <20210122023406.3500424-2-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-wireless@vger.kernel.org thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone and setting the next trip point etc. Replace thermal_notify_framework with thermal_zone_device_update as the later is more thorough. Acked-by: Kalle Valo Signed-off-by: Thara Gopinath --- v1->v2: - Removed net: wireless: intel: from subject header of Patch 1 in the series as per Kalle Valo and added his Acked-by. drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c index 507625f96dd7..a0c6be03903a 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c @@ -146,8 +146,8 @@ void iwl_mvm_temp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) if (mvm->tz_device.tzone) { struct iwl_mvm_thermal_device *tz_dev = &mvm->tz_device; - thermal_notify_framework(tz_dev->tzone, - tz_dev->fw_trips_index[ths_crossed]); + thermal_zone_device_update(tz_dev->tzone, + THERMAL_TRIP_VIOLATED); } #endif /* CONFIG_THERMAL */ } From patchwork Fri Jan 22 02:34:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 12038149 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13ADBC433DB for ; Fri, 22 Jan 2021 02:36:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDA0323136 for ; Fri, 22 Jan 2021 02:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726724AbhAVCfy (ORCPT ); Thu, 21 Jan 2021 21:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbhAVCfa (ORCPT ); Thu, 21 Jan 2021 21:35:30 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42C04C061793 for ; Thu, 21 Jan 2021 18:34:11 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id z9so3167940qtv.6 for ; Thu, 21 Jan 2021 18:34:11 -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=M04lwPBiKAp4mMR41FNkA1iddXx0RaVuGp7LGXqlLnc=; b=bDB4nKPMr3JI0ap5q38vZVSJ14wExCJz9SNH/X+2DxUUBiCQEphMXiQ/+Q5plfN/a/ BRqdsQNq3x8M64V6i2po521+I5U2uhPnwxIA14D8Z9kWj7XEk1tbVJifdUuO8RLbvflp o3Pz2Fm0U9M2HEqmMmBvdg9ONnoo5ziEoBP5Lanb1ekXKQ/xQVINycVeTPnCfPuJCWKT Dgsp/peAdSQv/r5JXAYMieVOABbnwzJNEk8d485y2cgRzOBiZNwpDqs56DmIfMgsczMD 2Lm2Y+YnEVnLbscnaDdVLuR6VDgOolfejiH5jlzLtmnLUH/IKOUYBfUo+DPfVqpn89Go moyA== 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=M04lwPBiKAp4mMR41FNkA1iddXx0RaVuGp7LGXqlLnc=; b=e4bu0kgwrkLG81hCSiFPAws7jvn1uvnv0CPV+333ZabjLq7kE72AiJ7kEqklLi8GZu hw+7b8nBYc1cdPTGs3T+TEtv1EQxoSBhfwsPrhJzaPVZ0qNMLSCNC7z4O/IDvTxoRFOY OdjReO8bvY06cPrQo/6S5XIDjWuG1ixGfbixSZs96f4hAFRG8RZnTLyufHPHHx98s5vp 0dn3536PoJLCa1R9lNO2nR1HWaIE5zbxSp9IR9oDyYnZhUZJwifyHHZnwBB/X8qDxpnF ghprz38+kXOkPH39WI36Mtpf3CTpkuWKZV3revjwx15WGr3Kc1af+Mb/G13wII0ma9g+ O/CA== X-Gm-Message-State: AOAM5328HTSYuxBl8ghS6QxIzWRFJKWYfwbn58n0RXGGTa+FzNeWH2hh tAcruzbcJriFtiEoS5OeJskTHA== X-Google-Smtp-Source: ABdhPJyGMTyNlhw1AYJj2GnqfJcwESqKAcxUKfadap3XkrefLmIB5Hn1fXt0ZWtqcVM+1emGU08xSw== X-Received: by 2002:ac8:5385:: with SMTP id x5mr2565373qtp.321.1611282850525; Thu, 21 Jan 2021 18:34:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 18:34:09 -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 2/3] drivers: thermal: Remove thermal_notify_framework Date: Thu, 21 Jan 2021 21:34:05 -0500 Message-Id: <20210122023406.3500424-3-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-wireless@vger.kernel.org thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone and setting the next trip point. The only driver that was using thermal_notify_framework was updated in the previous patch to use thermal_zone_device_update instead. Since there are no users for thermal_notify_framework remove it. Signed-off-by: Thara Gopinath --- drivers/thermal/thermal_core.c | 18 ------------------ include/linux/thermal.h | 4 ---- 2 files changed, 22 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 4a291d205d5c..04f7581b70c5 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -575,24 +575,6 @@ void thermal_zone_device_update(struct thermal_zone_device *tz, } EXPORT_SYMBOL_GPL(thermal_zone_device_update); -/** - * thermal_notify_framework - Sensor drivers use this API to notify framework - * @tz: thermal zone device - * @trip: indicates which trip point has been crossed - * - * 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. - */ -void thermal_notify_framework(struct thermal_zone_device *tz, int trip) -{ - handle_thermal_trip(tz, trip); -} -EXPORT_SYMBOL_GPL(thermal_notify_framework); - static void thermal_zone_device_check(struct work_struct *work) { struct thermal_zone_device *tz = container_of(work, struct diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 31b84404f047..77a0b8d060a5 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -398,7 +398,6 @@ int thermal_zone_get_slope(struct thermal_zone_device *tz); int thermal_zone_get_offset(struct thermal_zone_device *tz); void thermal_cdev_update(struct thermal_cooling_device *); -void thermal_notify_framework(struct thermal_zone_device *, int); int thermal_zone_device_enable(struct thermal_zone_device *tz); int thermal_zone_device_disable(struct thermal_zone_device *tz); void thermal_zone_device_critical(struct thermal_zone_device *tz); @@ -446,9 +445,6 @@ static inline int thermal_zone_get_offset( static inline void thermal_cdev_update(struct thermal_cooling_device *cdev) { } -static inline void thermal_notify_framework(struct thermal_zone_device *tz, - int trip) -{ } static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) { return -ENODEV; } 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: 12038187 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A90D7C433E0 for ; Fri, 22 Jan 2021 02:38:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7551922DFA for ; Fri, 22 Jan 2021 02:38:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbhAVCio (ORCPT ); Thu, 21 Jan 2021 21:38:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbhAVCfc (ORCPT ); Thu, 21 Jan 2021 21:35:32 -0500 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607D9C0617AA for ; Thu, 21 Jan 2021 18:34:12 -0800 (PST) Received: by mail-qt1-x829.google.com with SMTP id l23so686649qtq.13 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=gOetbBogaYpnkPJvuD4JEF/SBrDjYU0KMfaxALDXw0C5ySMeWRg03eMKqVELT+ygTd gauQsbxy9rPLSp5Gv0uZlptL2X0l4wpzA+GYHi3eb4Qw7FVMyrjFMTKcIHAF9FpcdDbz KQAdlUXNKkP2XQCCOxnEDSdERsXWKUP6lfTZCzxGavq1YQKu/6IbwYuXR7obs3nfpDKI EjX0HVdjmzJ0+KCUqXXjZmRAl64cLfe9rObBRZuDEZXt6URzIjs3ALEkky0y6OHhV6ql tyxgaQwp/mL118WL9PYramps+u59O9YfuVKFtVFGpOXX1W5xQcV9Pf+1qPYdpkV4Apbp GCTA== X-Gm-Message-State: AOAM5314YSPcW79qKs3jkkMS2uWYEnAA9OgN4MNdO9QsCHTO728680Jv QmzE02726jcOuNWAzIsmkD8eiQ== X-Google-Smtp-Source: ABdhPJwYZGOnnyliQde+cwXundXxy/2FHbW2RABsQKlFRqW5EKcyGzrypdbPAT/yTsLipBiZRuL1Cg== 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-wireless@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(-) 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