Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp298823lqs; Thu, 13 Jun 2024 10:15:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrJ676SZCf9ms3qXMpJxKQbX8w5SRyUfuGZsNuCUclu3Y4kxaMwUkj/GTVNaj4VRu6ftfdABwIfxpAyGI5LESKlC++CRmffc810jf7YQ== X-Google-Smtp-Source: AGHT+IHKF1ZuJ7v9fkBRCp57P4N44UP8vmwUu3BmMb3QJSeNZGHMagHwk8b28xoFKtHk6q8+wzDK X-Received: by 2002:a05:620a:1722:b0:795:8e63:7d1e with SMTP id af79cd13be357-798d26a036cmr12300685a.54.1718298958965; Thu, 13 Jun 2024 10:15:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718298958; cv=pass; d=google.com; s=arc-20160816; b=tdDJVIRsioTKUY08tgPMxm+PGZtteknvlArcJNF90U93rWOV6lAbKEC5C+BZFnjm3L GMarHLDg4kiUqRN1lsHjfCYcCYesBdBqqehZ6lF9AE5vr/njX9LMgZHSwpj8pDlgG8Kt Po8TeODC7zTEcQ6nXeh/GIEr3Xm4vIbGfztCoSL3twZwS6vomy97bexYEwMUPP9lQnlS oceGMSc39hlhtM7yUDreim4i6CCxw2/wuxXCnj2g3DyzVC9Tld8cQdq71cKz0kUR4spZ XllPo5APxbnPbDKVuOd4FdV4cJU4wVNu9uezRLMd2l1cKUvAgY2tfoVryRsVbw2OX0kN bizw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=wuzJukDJcqZ+p26BWsHeVaUxI/SQNsjUcFwML7t/rvk=; fh=KQbR4ILzRx+KFNsLAg3MUqu/G8zzZfQZbQOqYYxan+U=; b=olcSESrlY3heeqg/egb4NvNqBkdzO+7WR4W2JG69CihY5udkqGTfugHINLfV32KmCu R+chzeaPD5j3Mi9S8mDVcNWNMTUq00yt9fbhGOkgwslaw/vojxNBZpmfhKr7mCzHdSJS pBnNyAbWGGXE3wdypIy4oz4LejgO36GjBvmCMq2GgFp0de7vnF9buSi8J5vzOh00hTeK HeCC0YmiJKI4po2KkImNsz3EzgsawHj2lCVYaYN9nHoIz9eY/B6MB7Qr/SqdbxjDklb0 C18Rp5HyMLGbY6ePe3Lu1egr76b/AZBO/gi+Y2Ya9Abr96sqxYtwq8XAip79qUzHYLeB aHNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U5FEFsN2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213726-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213726-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-798abd1d0f6si194455385a.408.2024.06.13.10.15.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 10:15:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213726-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U5FEFsN2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213726-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213726-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AA58C1C228E3 for ; Thu, 13 Jun 2024 17:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E72D9145FFD; Thu, 13 Jun 2024 17:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U5FEFsN2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CF0712EBE9; Thu, 13 Jun 2024 17:15:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718298953; cv=none; b=Srm8+DolDPdyz3wUUk73KHWfiRZUV1Hm+Z1swksaGBljQYp1hy7EplKpMXDtirwfDSnTBwGsICX/qxrq3welVVqwEAs/p4IZe33q4v/sFOp0MiczbF1yCCMG5uIBRDt2Z+Vy79YKBM2+MgUmDr72kR+a9UtSo60oqAHoYZcFgoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718298953; c=relaxed/simple; bh=AKgUZWTneAiK4fPUdfiAf7GhaKqL6NLz/YozloQMn/Q=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=ASWcjQMDTIQSpAyrFMpOZmfA+TpQ86IE4K2gNSFfaLMmiXtRiObQndITA9KarDcO9XsHi14Hj3OoNVJ2O32x1172UGP8R0iHxMdv8MdVm3y35eDgYR9Na8/feeNpKSUTI48CoMQy5TSjdLVVN8T+IJB8jyd8f+B3Dj/Tw7vku2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U5FEFsN2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 551FFC2BBFC; Thu, 13 Jun 2024 17:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718298952; bh=AKgUZWTneAiK4fPUdfiAf7GhaKqL6NLz/YozloQMn/Q=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=U5FEFsN2KrLkAoR7D3TVrsdjdzmMZzPryoAbN6bET5++qg4qy2YPfYW9hSKAByqro kHHBVyr2eg1b+S/XRFbvwpPDTQPAFhZTmHz/nmMOZj6NX+s2U5wQ5S90DlpW67Bun0 i5x2O9KGlaRqE6W+JZwOY7I/EPWijn4mftJrdCdTWmJC2vMMHMTNvayMJo2KNxH/1c 2+Ulxr+i3ftXyifqGCsSnHhHw4+trlHVUXs2ZHcRRuCscs2O1fBlHjrbMQ4veMS0I7 h409+7g3bd5k6D7NzdBqEvI8lMc7nRlOmK/XbrkgVioTLgOoLujFtv67FLAyTm3A4h b0epjAtf5rIHw== From: Lee Jones To: Pavel Machek , Julia Lawall , Marilene A Garcia Cc: Shuah Khan , Javier Carrasco , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240611001740.10490-1-marilene.agarcia@gmail.com> References: <20240611001740.10490-1-marilene.agarcia@gmail.com> Subject: Re: (subset) [PATCH linux-next] leds: tlc591xx: Replace of_node_put to __free Message-Id: <171829895106.2728913.15291317258101925669.b4-ty@kernel.org> Date: Thu, 13 Jun 2024 18:15:51 +0100 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="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13.0 On Mon, 10 Jun 2024 21:17:40 -0300, Marilene A Garcia wrote: > Use __free() for device_node values, and thus drop calls to > of_node_put(). > > The variable attribute __free() adds a scope based cleanup to > the device node. The goal is to reduce memory management issues > in the kernel code. > > [...] Applied, thanks! [1/1] leds: tlc591xx: Replace of_node_put to __free commit: 5e6bc823b5c152b2a7854c61ec2054b0223ad2dd -- Lee Jones [李琼斯]