Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3157872pxb; Tue, 19 Jan 2021 15:41:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSwe6Ge7M00fZtNfEjQMvAW/+nscMUgTX0bvHr7dt3zoRWfa2xw2L6znBDOGVdf2HjO06n X-Received: by 2002:a05:6402:35ca:: with SMTP id z10mr5350367edc.186.1611099675035; Tue, 19 Jan 2021 15:41:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611099675; cv=none; d=google.com; s=arc-20160816; b=JZeoq1s3JWaW6waWa5hBdDNUp2SbjpgLn5I8R21lBoZQ6Ka/KaKsTozFk8TLysK+SQ HXj/w3aLJj1hJrOJZkxbkCLUQCEqwCmr5hnfFN9uUzbg0FhEsQYnI+TVL+pTMD0xe1Kb TZBxOZvkrk3AZ3X8fhq53x/CAAZ85uK7XrOqG9VemHyhRqCI24YALl4X3yrcULJFK8Py CzVLjmFqB2WwrSkMVAIjPSnz0RNSWGXEtz4/vLu2Zcqn69AgtzdypAbW5/4Gbd0DPX33 VVXS8eT//THRA0C7QZhAVgY33Qt3gpbvcKsbG1OeXAtdKwxIItYD2fkqaSu6scRW3ICO +9JQ== 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=nRS2hiANjnIr1RlGHLnIYe9fQc0p+ECG5kZhNVHMF8WUd1rkLP0aK8/Dsm46DuXtqB q7XfQm1ASLmF9rM2+89vl/fDlv8sIU5nyXwe5CqEr8SKOkPErmLPRnDR6o5kQSvcCl77 NkipSFC2K+hjVJxs6N0qvyB18rloE1r3HpHEwBfAqIHrdIh5UeXgiKTMNxVNu/dzJEwA MiODZg4RvP2OaSfyqYpIVvAqT6BcqMml7sUHl0lm8fC1wT8f5I82tIMz6oZPOuSuYsvm kUCRMAHTWkwVGcU6dwmo80LViKeu5DUllhXrRfO603V3Ubfi5u43SgNe+4z/z3zWqmOw y+YA== 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 j61si151046edc.466.2021.01.19.15.40.39; Tue, 19 Jan 2021 15:41:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730576AbhASXjs (ORCPT + 99 others); Tue, 19 Jan 2021 18:39:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395107AbhASOGa (ORCPT ); Tue, 19 Jan 2021 09:06:30 -0500 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22796C061757 for ; Tue, 19 Jan 2021 06:05:44 -0800 (PST) Received: by mail-qk1-x72f.google.com with SMTP id h4so21888877qkk.4 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=sVShGz5z3UxM+jMS29jxITqBxHUNAfkMhI8kOcAe7hQPF+F+t/0EDanh6OFQHx8Ffg Ml/DYgSV0e8kYH/CIWhwsw3obIhtUQOjZUZ6NLfGrEg78MppvKeuCmV0L0QIObvkLX2h mLrFY4uDuh+MxOetPgUDCP5NGquuAGvXYjl7XL5+3jqRI57qbEUlpnP0dimhyg6xaACi c6zq+VrIVNqjN47f592snnpc9SvPcl8DyHH9+k90uyB18Qn6uwvOwUj+2aec5mGRMgCt 36gQ/xgw2+hqPcfJYQ7xAfPYj+RpJsqtTyKdhiU5H41bT+SlM+T+grOl8pg7KOeIxuNQ 5vsw== X-Gm-Message-State: AOAM5308v7kjhCJBgc91A6L/xuNqIE0pVq3/ifQ9q5Aqw3/QIgCGgdP9 oft7vi+5LkPc4WpK22miWB7l4w== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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