Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1325257lqt; Fri, 7 Jun 2024 15:08:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2UUIMzmJ2jfb25G9suntra+ZAUzRIePG6B9Bv8vgZERAWEWK2QfuEcQID/jrSvHQ+m8fvoAzvflgDiD0OhdGmT+PMukeU/7OW5EgfCA== X-Google-Smtp-Source: AGHT+IGxp+VnwDzk5K0/hwp2nXtY2t9qVW5nKRO/3Lu2gPISXNZwkDU/us9HxtPb1sHg1bLqLroM X-Received: by 2002:a17:902:c404:b0:1f6:5c5e:d84b with SMTP id d9443c01a7336-1f6d02f4302mr42314195ad.28.1717798123201; Fri, 07 Jun 2024 15:08:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717798123; cv=pass; d=google.com; s=arc-20160816; b=eNsoAHpdPFnbA5dPXhd9a1tAYvLG8d/Rgj/OLRJXJ8zmYmh3Dtrs0Wyu4rAd1l4bLf jYYWvCLrG0LqvxBGQqqN1EXlL/opYwDtzCfn4K8ntAst8vW5fhsR0Jz3nysXdiVV03qV 77edOs09J1XN3I9MrFJTjq/BkwO8GFW8cmzbNapwbPjKXk8T2kmcOhYEX7SVdJPSaksi M1uICipCwoiLD8gdKCpoumcuxhL6rdM7xylwumOHYrg6pf2vfleBQLV/IY8Sewo/BKog 6Jep/z85CnBjIy9TKAYHVBlB2OSM3P+pphZGIBZZ/TG1i2jKZIk3EVIMtxRL+9EoiOI2 Egww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=tjL1fI/IK1fmmOTt7dCYi2cVdCScqaBbh8g2CZYU+V0=; fh=rkvT8FLwml5hFnVZ/ivLQ+kSav38E/e3gtmmJV4j048=; b=AhORkqgNj/I779U+FD4fQGn/ILhWvi2XzMdAlXZt7vh3X/PaPn03P0mxEJzgCM/1JK 3j7ul569hCoVeCbCLX+IedsH4xpZe4pwia/EKOJUxqLFjA05VxGiNacrK4H6vZ2XBK5F opeTG63IPfvF8uDZH49ZYK4Co6iAkGnQAZr4y3gkz+m5LVppYIXKRx8BTBIOadu1Mw8x pPtRLjGncNHxD7LlD+SaRuHcYgCmhl9tSBbQ94zzLRwtIsftLKnNI+RdYTZXHz4KWLSl npUs6KMCgA01Jt1U+08SSXjY/3mlVX7IXIUsMo6+W6FSQFTlSmqnkSHcM9T0gW7ZDKLz jKKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=liYB0M3B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206798-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7e5a6asi19824305ad.431.2024.06.07.15.08.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 15:08:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=liYB0M3B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206798-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7948B286D5B for ; Fri, 7 Jun 2024 22:08:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1686215530B; Fri, 7 Jun 2024 22:08:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="liYB0M3B" Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 A8EEA153517; Fri, 7 Jun 2024 22:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717798116; cv=none; b=YU3FcM25ZMm5gzTJndnZbmqlzACoC0YbAqWSJudAg1BhatNnLkDk7iaedB3GzNp8FyaiO2bRbX8O5IHiVeB7EhdsEHx4Qntnq3uHnoIDy7By/5fAe8sks99IvnPH7OggtUoGoPgIDRMWlBu8g5f80lQrnT0PaRBBMDNwYx/9kUw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717798116; c=relaxed/simple; bh=X0XqUrYOJ+/axRTziCgVjNc+Zqgi8AfvSjUQVzmbmZQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R0LRSXci457jLSBd1O2+7DjCQWUQjQ5dy5XMIk5RBLyk78bdc9XDI0pHEVAacMN/rl3FoWg4XoxnzaeI9QkX0ug56eLLGk4ugWPrNdEWo3n6fRQT2NrEip0Nchwqgobs73lCILG6gBatTVGtrdM9WOxoZbiGoP8KYggwK/wgJEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=liYB0M3B; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2c1ab9e17f6so2324421a91.1; Fri, 07 Jun 2024 15:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717798114; x=1718402914; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=tjL1fI/IK1fmmOTt7dCYi2cVdCScqaBbh8g2CZYU+V0=; b=liYB0M3B02DGx9P26+TTL/tPUzWnl4r5MdoA4hbQy5BeJ2WUjhmvqPNd9NUyNArOK+ xbas/3hQQZN9D1JC7jnuEaAtfUUjemtJUrnQp7LkZmggewbFXYjZsz1CgAmWtuzaAJbM qZKp+Y7eqLI2oFM96IGQPtGQrf03jSyZfl3HZcPqsD/mtw3x2SRhESxaSRtqdpLT8as9 styvefFzpiSSIaxfp6395DMxn/pgcBGescVjV1WxI5kylCWs57EH04AQprKtstHQm6Rl 4BrmcUdHLmYVDvd7rX3g3uhhwwN0wfL15Wu4LLWFp/QU+Nh+4nq5u2/1n3ARWg/s52jX CI8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717798114; x=1718402914; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tjL1fI/IK1fmmOTt7dCYi2cVdCScqaBbh8g2CZYU+V0=; b=ObI4HM93uQnNVcmNxEE5zrUTzYN7nPP7KAoaIUNAWmgHBvEr/FJspv7HGsrfU/h/sn WB+8PImSwAnHY8y+EHSJ+0c0481+C7QST65GOxYerADM0DRsErDK7/H9HOx2muODp+xb qEsJBaVxtrc2Bc+RIDc3G+nQmOUhw7Pgigu+Rd5hQLS0Hv76Kfa2vVJl//9MNAwMricA QdTrcof2Jn7zmICHIihPAPKCa0V+XYPEEXQijbOCNLYvnL2dbVnLE9A+SexWTz0NW/h3 qRsQL3ZVrp4rpAgQ7DQP4xwoCwczvi5L2sWa3YfC6qdNaQvvsGvIlgVoekrdasyKtExO xFRA== X-Forwarded-Encrypted: i=1; AJvYcCVm69D6QD1NUjVpPHmEV+7TswyWi4LA2fq8cjnxCQdRgiubSVnRjaDIAulsv0txaFIN9z2cXT9z0YsGT1441G+ZKyaAOoqcx2bXbMxAQQr4usIrbflFHkLuE6MC0iuZKvDYwZcTxtldkGc= X-Gm-Message-State: AOJu0YxPppjzDUzAjaBLMiMZtkpRSRElgIgV1VT9c4ijc7Cl2xGxnmM0 em+vrb64n/I6UjkJf9xMbpBdu9W8DFVX4ny46o2eQgIg0NjAW5LR X-Received: by 2002:a17:90a:788d:b0:2c1:ff35:78f5 with SMTP id 98e67ed59e1d1-2c2bcaf6920mr3740683a91.15.1717798113686; Fri, 07 Jun 2024 15:08:33 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c2c661f8basm1830971a91.12.2024.06.07.15.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 15:08:32 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 7 Jun 2024 15:08:30 -0700 From: Guenter Roeck To: Javier Carrasco Cc: Antoniu Miclaus , Jean Delvare , Tim Harvey , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] hwmon: (ltc2991) use device_for_each_child_node_scoped() Message-ID: <6416e24b-ea6d-4b3c-9803-b87ca5aa43ca@roeck-us.net> References: <20240404-hwmon_device_for_each_child_node_scoped-v1-0-53997abde43c@gmail.com> <20240404-hwmon_device_for_each_child_node_scoped-v1-1-53997abde43c@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240404-hwmon_device_for_each_child_node_scoped-v1-1-53997abde43c@gmail.com> On Thu, Apr 04, 2024 at 01:13:27PM +0200, Javier Carrasco wrote: > Switch to the _scoped() version introduced in commit 365130fd47af > ("device property: Introduce device_for_each_child_node_scoped()") > to remove the need for manual calling of fwnode_handle_put() in the > paths where the code exits the loop early. > > Signed-off-by: Javier Carrasco Applied, and sorry for the confusion. Guenter