Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp262824rdd; Tue, 9 Jan 2024 03:31:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpcy8geyiNG+b11W9bCTwOlD1qfT7+OSDRwD0S7sw4QYFG30sVXg9jCCq7Tvmi5y4SiAzI X-Received: by 2002:a05:620a:bd5:b0:781:e316:4a56 with SMTP id s21-20020a05620a0bd500b00781e3164a56mr7019603qki.104.1704799887764; Tue, 09 Jan 2024 03:31:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704799887; cv=none; d=google.com; s=arc-20160816; b=WhygJ8/m+tKjA37tiEuVQmWTwMmdpHCq8RRNJcEiz8qufmlJWUiUStLC0kbsrLjrSU tUMgnd04tAcF3CmZmS2lzMJtVCVAt1ezj8i/JRe5LDGHJcofr3nfnRvpxUnAqAlhZiM1 oIZ4k3z9LRMLHj97i57WCxUXe1cV1+qvV6+sGMqO1kdLVwbHNfzRaTbGj3SLG2TMpA8i zFGa5yWXcmySP/eUGMjPuaKgMtaRgwX8SNgcLfgL61LT/PZlEAq7btmlYorMOeaoUVgq sVt+6hveGf9ou4WW4K7FF1th9FfvuLARm1Hp1drddRQp5oWdjxUujqnsM6+6ndNMhZ4n ibGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=7AtoqUTwZLfl0KwHmLzuwT//NH99rWdFjZcUUxVIHc0=; fh=LBoYCTwcnc4aGCO1Ky9m5KD26cM4ZwLGFt7YdcTzbHo=; b=l5nJwh/9iI0BoxX2m7ZzEcH/cUtGZ360bxDDvuAe8Ep7wRXekkrfeyr5LGXo13j5Al 1/th2T9n4qq5clCODyoEmiEsf7kbdltIkhglNLxUJQGvdjZbilXKXyeFLs8AY7c+wciG ZZ3d9NlkzDsS6plJSsp7C0yj2XzhSnLll2LcWLKlKL+XHRTOu7GzNmfFxbTYayIFQaAf hMcgPXWUiy3S4xMHxE6o80USMxvLrZX/OyL9kJCtmQ3tgiEwR8FhO5u0fB7MO6la8hhx rLXBJOXB8rKCLsuvtqGRH87g0sWCGzr70Sl80vjQaGuT6FK3Wc7MK+yubgRxmkIG7TA0 PuCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FUlSUJPM; spf=pass (google.com: domain of linux-kernel+bounces-20779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u22-20020a05620a455600b00783100ada16si1985276qkp.259.2024.01.09.03.31.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:31:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FUlSUJPM; spf=pass (google.com: domain of linux-kernel+bounces-20779-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 804D51C2136E for ; Tue, 9 Jan 2024 11:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4AC437159; Tue, 9 Jan 2024 11:31:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FUlSUJPM" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 9563E36B15 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 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2cd1ca52f31so31107671fa.3 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=YglpWrbT11Q8lfV9ksjqVgzff/qeEAjmdQeaWXkeBtXm4yGVf9OuULnF1+pO9SsDEQ C914Ausq4chDFCiQLkZ96fsrPK5cS2pfi9pnlQo0QwsnTCORM2xHIWNWuOxRs9iB4Kf8 kV1H1i6eqBr5jalYF1Vi4etHLWeqDAGpxLnKBNi0PRBvgUOodjcEX5dV8UT7TvkLiqqu O2lElzwn5RIBfJX5Whagzgj3yRdawT4MVrA7SRmGPPiQKQbqlerCgPFGZzF1TiESAnAx 0hPjGbUa0AdyBdZL/M2BYgpNcF5+lhxlszpYIQwIEeXK1fY3akEDX8Y5CDmjZ5mrSbvj gnew== X-Gm-Message-State: AOJu0YyHKiEE8pIdChfeBbq9s+QWzJUYOLZ6yL67uLnXaW77e31lfj3k 9V4YSp9f//+KFZsaGoKI8b8c1BOD2+HdUA== 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-kernel@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