From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F681C433FE for ; Fri, 14 Oct 2022 10:15:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbiJNKPd (ORCPT ); Fri, 14 Oct 2022 06:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbiJNKPb (ORCPT ); Fri, 14 Oct 2022 06:15:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED98A99D6; Fri, 14 Oct 2022 03:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 606DD61AC4; Fri, 14 Oct 2022 10:15:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E04CC433C1; Fri, 14 Oct 2022 10:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665742528; bh=a9urAeM6qo9g4VwJfLS+Bay5Jtu4BOaMES1yiMuCDEE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ou2s55cgzvH/FPQFhGvnaUCmvL9KalwfkzMqcmXvSKCq4jjy0IOO1cokBJAm4IwsY MYaX9uCTlW8hS+TCQeYti1nlLWyoGbmeL+vbKlaoDtrThyi7PJxOOIKRgqAG8awhJe iC6s9xxYV7ElHM0mW+z3RArWM0RAd+deULC1CxAFhQ8CZoLWspDIK68j/D3yNX1Ry/ JlPsGy7MyEvkYln0r9Bt1GdFhg31EiAIJXHkVO1aWQTw7uMBSvHF3DsnuUzi1LFin+ AJ8uoXOx33JB3Vct5QOjiHRUsPC1Kb0PuhebPoJuB4W2+B2qotzzCdCmMCcKf52qvJ hf039hiEudERA== From: Kalle Valo To: Daniel Lezcano Cc: rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Gregory Greenman , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Luca Coelho , Johannes Berg , Emmanuel Grumbach , Miri Korenblit , Nathan Errera , linux-wireless@vger.kernel.org (open list:INTEL WIRELESS WIFI LINK (iwlwifi)), netdev@vger.kernel.org (open list:NETWORKING DRIVERS) Subject: Re: [PATCH 1/2] thermal/drivers/iwlwifi: Use generic thermal_zone_get_trip() function References: <20221014073253.3719911-1-daniel.lezcano@linaro.org> Date: Fri, 14 Oct 2022 13:15:19 +0300 In-Reply-To: <20221014073253.3719911-1-daniel.lezcano@linaro.org> (Daniel Lezcano's message of "Fri, 14 Oct 2022 09:32:50 +0200") Message-ID: <87mt9yn22w.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Daniel Lezcano writes: > The thermal framework gives the possibility to register the trip > points with the thermal zone. When that is done, no get_trip_* ops are > needed and they can be removed. > > The get_trip_temp, get_trip_hyst and get_trip_type are handled by the > get_trip_point(). > > The set_trip_temp() generic function does some checks which are no > longer needed in the set_trip_point() ops. > > Convert ops content logic into generic trip points and register them > with the thermal zone. > > Signed-off-by: Daniel Lezcano > --- > drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 2 +- > drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 71 ++++---------------- > 2 files changed, 13 insertions(+), 60 deletions(-) The subject should begin with "wifi: iwlwifi: ". I don't see patch 2. Via which tree is the plan for this patch? Gregory, please review this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches