From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93DEE36AFA for ; Tue, 9 Jan 2024 11:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FUlSUJPM" Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2cd0c17e42bso31231611fa.0 for ; Tue, 09 Jan 2024 03:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704799874; x=1705404674; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7AtoqUTwZLfl0KwHmLzuwT//NH99rWdFjZcUUxVIHc0=; b=FUlSUJPMvRE/xzNo6JzzHmjaxoWsZFzintADMVojSc9epiUy4v0APfYb+MNLz5pJpR 8Z2ROqj79SnMX3u5CY+ZGXJQVFuCJw0V1WFf4IlIJf6jasxDgaCVyMaLxdrwNuR+zfo+ U+sA0NBP6CPsOAGe47vYB+0fjWMdnoEfr7x289TzWGFcGfe8kWEr/S2S3auHQXeMySKT 3e3hGM9o9JTqUrEnk01puyRWLpCkm8jhZLLNJ3Rn4YO+BBnLBDMTepY2EQxm9fID5VPM 286XjyP+w1l9IWWNSZym/N+8VYpnkn2m+Qjz4G6lEs1ALLQU/E9Yypp6rkucvVsPShrB yQ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704799874; x=1705404674; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7AtoqUTwZLfl0KwHmLzuwT//NH99rWdFjZcUUxVIHc0=; b=OlIpfUtsxyPPp7/ruI1IC5QnutVzDsGu6Ta656soe74eoaKNONSCHpfzmeZ+gA1fzA ry/086tkXWNebinSp5W9wsIqacm1u34td0K15T9SDDkti+SAAg49YyTDMYGSSUPuOXlS MqsgtIQtMQHeB/pO4YwLmVl7Zl2i7JE8UlX96SBon8bmvrGRCXD+bmmliI7pfLUCVBYn 2hiqw4jxJBjwm5mDsINLFS7e3ny9RH47h1UahCqUkX30C84AIp82kjcrYnyubsshTXO4 uVlLf3B/6lvXK8NIvmW6kVayC2s+JouLTD3+kyvdOuF/reyiXYyzwM20rPWLQAXSuDaL c2Zw== X-Gm-Message-State: AOJu0YwLOtJpp3GsGqyXtMPB0AsuANG1T3OXyI9OYHlNqdcowACsHarQ SpxiLq7fszUMFOt0xCOJg7RdmssUM4LTdg== X-Google-Smtp-Source: AGHT+IFeyakWPVTGSlb2yexBb353agn2iLP9slBWjtFFmXKMTmAlmsgVOfLhN2uL0+mAM8Cpht5rxQ== X-Received: by 2002:a2e:9785:0:b0:2cd:d5a:7f34 with SMTP id y5-20020a2e9785000000b002cd0d5a7f34mr2160742lji.32.1704799874610; Tue, 09 Jan 2024 03:31:14 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id c15-20020a5d4ccf000000b00336765e9babsm2151544wrt.83.2024.01.09.03.31.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 03:31:14 -0800 (PST) Message-ID: <3a92f601-8422-40f0-b15b-76db3fe2901b@linaro.org> Date: Tue, 9 Jan 2024 12:31:13 +0100 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 5/6] thermal: netlink: Pass thermal zone pointer to notify routines Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: Srinivas Pandruvada , Zhang Rui , Linux ACPI , LKML , Lukasz Luba References: <4556052.LvFx2qVVIh@kreacher> <1975810.PYKUYFuaPT@kreacher> From: Daniel Lezcano In-Reply-To: <1975810.PYKUYFuaPT@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 15/12/2023 21:00, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There are several routines in the thermal netlink API that take a > thermal zone ID or a thermal zone type as their arguments, but from > their callers perspective it would be more convenient to pass a thermal > zone pointer to them and let them extract the necessary data from the > given thermal zone object by themselves. > > Modify the code accordingly. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog