From patchwork Tue Jan 19 14:05:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 366222 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1208091jam; Tue, 19 Jan 2021 15:48:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLQn+VZE1cXq3rcrfobhZcwW3i7xFKNKVBeQX4ilLoPpeT7WHoW4IftoynT99tUmUd4cmW X-Received: by 2002:a17:906:af92:: with SMTP id mj18mr4451176ejb.290.1611100089760; Tue, 19 Jan 2021 15:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611100089; cv=none; d=google.com; s=arc-20160816; b=RKgLwoKoUUq61vZq3Ko1DQ5guZWKsZrFjk5Nk2TGJ568W5/KvhDbjPBQn5t/8qsyXp hfaPzxfr+3A4NZrUjHUC5s/NnjrWHuVUJsuzO8A6dEJ0k/ydZ70xMs/dH8KkCz9Q61CR SXL39M/U0AYvmbvHvcrSRK9xH/WhVkgF7f06LBOiZoXvUl4fxJuvA6VALuk4TZJdk2HR 6N4kweUAnuXsSwBxZL8GADx3fAwAXB1w5/gT3CB9tgTx6sIGHHI95hs78WWpjZLYpqzm LZyObz5meQlLWI+aWl8CUyS0IjDoZMp1dHJMvpugLJ8iolrlMWmMZU4KQBXK5eow+FQI BBmw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WRH1U9XGgfqWEUznDbBjK+ln/wIg4FAs6AUuAcYpjiM=; b=pquh0OuLaQWnl6+A329xx0CYujRp558y5lPzeWFDOVBr9LqvUSVuk4c6X+OZ7HN6z6 mJfp+sN5LkKrwAw/Jaxor49awPGrZzpOjPepU1qhzqkgMj5A3Rrnfjk1DGu8gmpYMxOW TO4BkmHiOxOl7IdhdIgeJLV7p7P5LQEzeNkLMpBxeRw+xtK9CG9fJK18U5l6ZVkfKq8g yLbBuersGZPpCnGKdlEA3bOIPZSLgi9pJqT56+HO4eX5bNIVyxoJlCjH1QHBiwg+gpWr A/jHhAFGuQvyOsFKro7x5rBNHL5e89xtdBtVfS3KnSdiMwI/66u4QI5jwfNmVAhOvfgN Kmng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DkPzlGL8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 z24si157042edx.302.2021.01.19.15.48.09; Tue, 19 Jan 2021 15:48:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=DkPzlGL8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1728363AbhASXhj (ORCPT + 2 others); Tue, 19 Jan 2021 18:37:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395125AbhASOGz (ORCPT ); Tue, 19 Jan 2021 09:06:55 -0500 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44593C0613CF for ; Tue, 19 Jan 2021 06:05:44 -0800 (PST) Received: by mail-qk1-x736.google.com with SMTP id v126so21826320qkd.11 for ; Tue, 19 Jan 2021 06:05:44 -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=WRH1U9XGgfqWEUznDbBjK+ln/wIg4FAs6AUuAcYpjiM=; b=DkPzlGL8rpnYUhr0x+ghT+YFzXkOJ7sTyBFKUJGFq8VcsE8h4Sln2lwXqVBHI7Lks4 xh/4BFR8MqvCwkLi4Q4KsWMPlOCkJH9sfYTbFT68N3+6EfCHlIzkRDwv1hOHGJFGVZDm cHu89JimX1mqMVYoGT+644GjIgt9E4B7cnbvChs+RCzqiakB6vsuPv3oJpS2skHBUvSh p/BDiaR1LSkvGJuANlc+pvGVEpVgaNXii+Oc9YkOnRPUdY4KgCBBPRZVS8VGvVtBNRDy YytAWVFyQ9UpK6+vyh0Rbp+iSLsR/0FlmO5P9UiGEciBE5GqVkbIYlzcwdrIi4b3lBa5 qHZA== 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=WRH1U9XGgfqWEUznDbBjK+ln/wIg4FAs6AUuAcYpjiM=; b=WmVIpiv2WnLHyu8qv/yf8oY/w0fXDpU5+aduksg6zu6vnOM0xQkEOjqyeK3Wh5vJr4 MDvTyn15XQJTflOWVhZzpVw1iWqLELqgQrzeJh8Y3JpLVX7T3W8BfU/u20h8iLzK51fI uE+T959Z3YzxmouUWAP0UWS/a8xke6FVo5F0mRuP/i5n2UJdBCsjrf6NiuNy0+AhZrIL mJwvmVLL6t6BmOhj10sAdScUMnHj8QJGIi5vk1Qu2BKcepZBM1HGU6NtTswGig119DK2 AzcE8XtAZX4oqDExZVqchWei0h0STzic5hZ6zXhMjBw7sBD5Q8aGXwiIN8hVprOSz9Ue BScQ== X-Gm-Message-State: AOAM532ifrHhKr1qTuFshyAmx1VCo014u89h6vfqVum/U2MOtM7CsWaJ nUlcj5PHKdxdoB5dnl4MPgfBAw== X-Received: by 2002:ae9:f819:: with SMTP id x25mr4369008qkh.429.1611065143335; Tue, 19 Jan 2021 06:05:43 -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 f134sm12910308qke.85.2021.01.19.06.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 06:05:42 -0800 (PST) From: Thara Gopinath To: rui.zhang@intel.com, daniel.lezcano@linaro.org, kvalo@codeaurora.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 0/2] thermal: Replace thermal_notify_framework with thermal_zone_device_update Date: Tue, 19 Jan 2021 09:05:39 -0500 Message-Id: <20210119140541.2453490-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. Thara Gopinath (2): net: wireless: intel: iwlwifi: mvm: tt: Replace thermal_notify_framework drivers: thermal: Remove thermal_notify_framework drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 4 ++-- drivers/thermal/thermal_core.c | 18 ------------------ include/linux/thermal.h | 4 ---- 3 files changed, 2 insertions(+), 24 deletions(-) -- 2.25.1