From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 98ADF1A4ADE for ; Wed, 21 Aug 2024 09:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724232979; cv=none; b=R1lLSYxsaDUgYthXL9jX0miWNAjboBqN+mh20fIxK/thYSNdfWjhdgH5qq5kSFUtZLYyCONSFb+MkRG6uoT9SAIoTStCFy1kJcfdfaYFQgmuKI23qeOLTckDrXTfNrJNpGZLSAabhLE9ePZ7W96P6jC8kWrQRZ/SnqiJLzLpwNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724232979; c=relaxed/simple; bh=XfBqF97hk+NE8MlrUeFeI+aPBB3RDjCVXfkdAil0/YY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Z4HyRBBqqK344Qpfiv+F3MIm4JiNNwgVgxVV5hMlpcDFtlVl+jjQoGDYsfFCchQCCrdCIOxQ4UyttorusHvD+gELFJ2zqvot+bL0muzoP5leD3OzGU5tYDSv7WfqIgSXxlnsHyUgkKfj5yfQBHXXkM5fTOKW7szcVXhXA+Ov+M4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LzDHNb2C; arc=none smtp.client-ip=209.85.128.44 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="LzDHNb2C" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-42816ca797fso53310275e9.2 for ; Wed, 21 Aug 2024 02:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724232976; x=1724837776; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=B20IfwvlnxYHs42JVivrktmNyeiEI5FdhY91AGiu/FQ=; b=LzDHNb2Ctnl1mtFI2PdyUub65+qj4kb2Nkh07BhvAg3KhAA/+oBcVRekXytDcn/a5G 9sW71KLUCGDjekQ4IpEdsA1+1TZxEnHGTusdb9G8C7dpN4FtwIQViVlvgX9b82b2oWzw XdveYXoODno9vqXDDcitoDRpM70fTsqre4I5g5AIn4xqglXdNNoGYfGmVUYHuLuzijrY fS8kX0MT8LNdQGmitGlkE31wpMowNKJdAa9RrXmlhjsA5uNH4rtoJNw+oE/METdsy2BP uO2KVKILu8VoyXP3t7PsnY0o8mRfQ8sSsVX5sGiTQczm8nWW/T71K2VVWpowxZVuW4Cq MH8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724232976; x=1724837776; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B20IfwvlnxYHs42JVivrktmNyeiEI5FdhY91AGiu/FQ=; b=UbDinYre3YAlPIrJt38iOO4vD7Q0mKwHE3Sm49N7oF+6oCZVD05Mag3TBDehffmEUj hOCR/oWwZkkLdFVafEKHgcTcXQqEy/yN681vr/ZATDJtN/pKPPHrdLsvnKDcSl3Ixslw j3AQqAYVy+xIIacN1ke8UKIweLv2Eb4dAoSadUmhEHsp5DlYOvOkXci5hz02uFASRM5a gvuchI+nCsmfeutCnf5WjID/3TgV4cxh0CenCZ/R7kx/YOCp3Opp16ZZMjkDO+brXqwJ nybsmxWnRS2pALdBiFH9N65z7fbInDPPJ5Bs3MNhBEh+o65di3nCcCoazXqzTc4tI4Sh quUg== X-Gm-Message-State: AOJu0Yzhv/SbTbjvhcuAn0IxYXCZugdXrV8K5swKmOb4fk0F98mtpDux VSBalDJ0OxX835gCcFupbWCUOeUWNFfQQmz60l7oTsVor+GH8UHM2hCRVeVEyzs= X-Google-Smtp-Source: AGHT+IFSGTPeEF9IjqLXI/2eR4OqFuA2MPcjqCJifpSA3FPqCwbfX0IFv/OuM12jqC2JUcagUtMguw== X-Received: by 2002:a05:600c:5106:b0:426:5416:67de with SMTP id 5b1f17b1804b1-42abd24582cmr12344535e9.30.1724232975338; Wed, 21 Aug 2024 02:36:15 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-42abefa2362sm18645685e9.34.2024.08.21.02.36.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Aug 2024 02:36:15 -0700 (PDT) Message-ID: Date: Wed, 21 Aug 2024 11:36:14 +0200 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 v3 04/14] thermal: sysfs: Use the dev argument in instance-related show/store To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Lukasz Luba , Zhang Rui References: <2205737.irdbgypaU6@rjwysocki.net> <1987669.PYKUYFuaPT@rjwysocki.net> Content-Language: en-US From: Daniel Lezcano In-Reply-To: <1987669.PYKUYFuaPT@rjwysocki.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 19/08/2024 17:56, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Two sysfs show/store functions for attributes representing thermal > instances, trip_point_show() and weight_store(), retrieve the thermal > zone pointer from the instance object at hand, but they may also get > it from their dev argument, which is more consistent with what the > other thermal sysfs functions do, so make them do so. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog