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: 12038165 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 E4D76C433DB for ; Fri, 22 Jan 2021 02:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ABAF123136 for ; Fri, 22 Jan 2021 02:35:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726662AbhAVCex (ORCPT ); Thu, 21 Jan 2021 21:34:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbhAVCet (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 1C061C0613ED for ; Thu, 21 Jan 2021 18:34:09 -0800 (PST) Received: by mail-qt1-x82f.google.com with SMTP id c1so3198302qtc.1 for ; Thu, 21 Jan 2021 18:34:09 -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=Y9eqdDy7GL5iHWFW9oYUYNLt/UZtHt5Og+q+T8zqJCQcs8LwN3WV25Jri3/DeoUQLx qxv64RYA4OAAPHfLbbMSeiLKNICyjtltd+0yBWcLOj0hP/cc/4rMEHqtAdWr0fgoeRtz AZ6hSejACGbkPdcsNRwq7eFvXPQV96iOBKjuz5TKBvzKaao5VGViwdjn/QVcg/iHs/I9 6TJ43LRY9Ye0tQf21Rff5j7n0+3WoZPoq4NoTlT8uFjFWNWWWpvbexReHbRyDoanoAXc MflP6r4hAGT1rV2U51W5CR9N1C/LEoC5xUpPNffnvoWbnCAg3PhPb9cm8XU6cK1Em5B5 w4rg== X-Gm-Message-State: AOAM533/XZ5mjQotsidGMQSxwQzf8sfUEVrp7akWK7ALc+Coa84vr6uO zPyVndjhyeCjFfzZqSXWKyjhFg== 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: netdev@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(-)