From patchwork Fri Jan 22 02:34:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 12038147 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 17AB1C433E9 for ; Fri, 22 Jan 2021 02:35:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DC52123899 for ; Fri, 22 Jan 2021 02:35:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbhAVCev (ORCPT ); Thu, 21 Jan 2021 21:34:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbhAVCet (ORCPT ); Thu, 21 Jan 2021 21:34:49 -0500 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C20FC061756 for ; Thu, 21 Jan 2021 18:34:09 -0800 (PST) Received: by mail-qt1-x82f.google.com with SMTP id l23so686573qtq.13 for ; Thu, 21 Jan 2021 18:34:08 -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:mime-version :content-transfer-encoding; bh=3eXUz0FJHPsxXVok5Mi9le7B1OegMg7jEkFlgOt9P20=; b=NAU1rovHipp9jQS+UwplK2LJIgr3LwJA0xUu3RwGWdyAD9UIronXjdEZceEuEo6E4o /iu0psHsA0Y6udLcJW/tF/vriVqBPo9xa995cMjHJL7ezXQiUhhI3VEtv/h/o9bCcx2W Dwx2zJiT9OmWh9pnjv5HAaaLpd8Snf+hyG/G8c6awaLVwDoVXiIPzL+s3JXyeBdX486I Y2A9g7JBdhT7Z1RtWPibk5ZL5XRKbKkdwMkOLoFrtGH//xk50pj+Sftd1140P04MJqrV WKm0hmEr/DjncN2KJPZRBED/QB7+9Y7OLXf0OIrpHZXvL1r76/Bi1Jet5JN/cRL3KctW sC1A== 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:mime-version :content-transfer-encoding; bh=3eXUz0FJHPsxXVok5Mi9le7B1OegMg7jEkFlgOt9P20=; b=MXabhPtZuBiNIVWINEcIhcjPsTUMGafpOqCBSpn1aZ6wchaAeLSTfWupplAIfoQZ4g 88JRlEl597QLX2Qj3OupFuHxIcZsmWSTHH/7kijPpTbRDrrbblrjYOIRmQuofsB5TpR/ Zatm+UeeUTOFB/I/+ccLXXGt/E9AX7zsA6O31HqLGuwFfLYWzTDbR7dJYOruiIz88a2/ F7dktfDLC/xNo8DRGychU5YdRxdnkDw6jxrDcnqBItKFk6Xln1UHsPMWDEBgzcz2RUv9 sVXDfnu5CqSpEMY9g69MnzFzJ7VdHNRjBErfrJBMtmkI/HIJvtlngGYLcftqp4/Q8nw4 t05A== X-Gm-Message-State: AOAM532gTLZbYAqGMqs6D3vDs6YRYfKK6N38SgWhEsLHBgMpC3wcr/XV vy70TupgUfMBrIFU1jm3p9ooaQ== X-Google-Smtp-Source: ABdhPJxnqEx4qz1AWdxzajdteuEgbByB4SbNXo7KMUUQiENdstnL0zVNkCqy5M2FZBnR9Q1mBexuEg== X-Received: by 2002:ac8:4894:: with SMTP id i20mr2595500qtq.244.1611282848213; Thu, 21 Jan 2021 18:34:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 18:34:07 -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 0/3] thermal: Replace thermal_notify_framework with thermal_zone_device_update Date: Thu, 21 Jan 2021 21:34:03 -0500 Message-Id: <20210122023406.3500424-1-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 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, running through the list of trip points and setting the next trip point etc. Since the later is a more thorough version of former, replace thermal_notify_framework with thermal_zone_device_update. v1->v2: - Removed net: wireless: intel: from subject header of Patch 1 in the series as per Kalle Valo and added his Acked-by. - Introduced Patch 3 removing thermal_notify_framework from thermal documentation. Thara Gopinath (3): net: wireless: intel: iwlwifi: mvm: tt: Replace thermal_notify_framework drivers: thermal: Remove thermal_notify_framework Documentation: driver-api: thermal: Remove thermal_notify_framework from documentation Documentation/driver-api/thermal/sysfs-api.rst | 12 +----------- drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 4 ++-- drivers/thermal/thermal_core.c | 18 ------------------ include/linux/thermal.h | 4 ---- 4 files changed, 3 insertions(+), 35 deletions(-)