Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp489699lqm; Wed, 1 May 2024 07:02:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrgDJHiFfeRUX2aNMeQezXHoj+xTxaQH8P0w5kHeBX9fTNjV+5kzQQLxRkjqWg88kI0JbPx5Zy5csHfHs4CeCmpWU0ZtMKhcBsInR1TQ== X-Google-Smtp-Source: AGHT+IGYn29ucGgy7sYG+82Xty3DNKIhmXHEBuvKTrCHVPFsTzt+T6zffDXaOu4Vji78QM1jCruZ X-Received: by 2002:a17:903:4d1:b0:1ec:711b:edc0 with SMTP id jm17-20020a17090304d100b001ec711bedc0mr1984516plb.67.1714572118064; Wed, 01 May 2024 07:01:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714572118; cv=pass; d=google.com; s=arc-20160816; b=mopHvilxGPsOzuoL+zRkkL4iqrReUYnlLNVn8VLV9oT/YIu6H/VO0wDwypfkZWwVIG sRHSc5MMlYQO6c0hSajLo56sRx4aNf3dVY8reWVdm9NZu7RBS0oJSAFj7QwTkMMNIzyl e5Hd+NQnb93MZbI2nmb/f/0/R8oTa/wqueoXS7KhasANM9n4r2oN0ah5gVEzbP5do/Qo OzJyIvxOzozJUhcIIfK86eC4X4l9ja63PONZohCaiy5L/vMNCKKW79TZGLhmWkGUmhyW cVpD2MqIKUN3aL2kQ0H4HXUGazX41YiKGVUuhX8htLJvRd/tmKCM6kYTeUIekAA2vQ/4 Pebw== 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:dkim-signature; bh=MRQauao233bl7PaCKp2AAgdkPImfXRP53eHl06LQeag=; fh=QrOxVUPupK1igIQcDVSUbSN05I38nZkGaDsqzVv+n+k=; b=J0KDJC1pcyDZ3gZNDGUjh8sOeZ+K1odxq4zvUD6wRvGABqosUoeOzSXL+AxvsRxvYo UbcNmO2MOMCP4xWkntHzts7YNgl4kmVZ6wFQFsUPJ81LX33yj6h35QQCmElzOBcyMM1b BlPc/1sY1WReCpwFDJPDK36lCdmd2bSrLFHYIhU5d5xultgX4KyZ48w869A+/SaPArac IkN1KnYHcs6SYccETXcwV/qMCL7+mYJlCbjhbMUWDwtj8l5crfyLCpfIhLDXnRzj8IFm P9Q/ifq64HUq+nfKmBmfI5H1FIfuV2db304E52kvhsTEdN35Ug+u+711gj9FlxmclEMe fZjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ovMJmXlz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q9-20020a17090311c900b001e549d0b2c8si24374909plh.230.2024.05.01.07.01.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 07:01:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ovMJmXlz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165352-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 85A5A28355B for ; Wed, 1 May 2024 14:01:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F076512EBEE; Wed, 1 May 2024 14:01:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ovMJmXlz" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 9027F12DDBD for ; Wed, 1 May 2024 14:01:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714572110; cv=none; b=M5o3Ws9nqKN4BC4kBBVSIgX4tJX9fr6cPHNzh4fsEvcpCPC/o8zqg17t8YQbCWhJJLtIRvTBKlyuNIDf8PYbVJL+ZWSQHRs/MdAgM4rf6Oqfa3NPC3Kg+o0u88AJR8i/PRvEPDna66lBqsTGUdHrHMxuiXQHyBAZvNmF9Mz//Pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714572110; c=relaxed/simple; bh=MRQauao233bl7PaCKp2AAgdkPImfXRP53eHl06LQeag=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e47Wg1169z+ZCde43S3X5SCIykiYU/uQQJ2QGnwCT9TweWgEvhI+p0U8CIaeGlLfRnrjPCC39nE4oYnvUC8kti5GN74qjAnr/Uv6M+/La6asNKVAJ+NN0gb5I4XHxzm3pNmaQfIgWltMRjW+Kgc0ttR0lcVY675fFOLCwuIJqDE= 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=ovMJmXlz; arc=none smtp.client-ip=209.85.128.48 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-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41b79450f8cso43339135e9.3 for ; Wed, 01 May 2024 07:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714572107; x=1715176907; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MRQauao233bl7PaCKp2AAgdkPImfXRP53eHl06LQeag=; b=ovMJmXlzrne8niuccMib5zu0vOZhemNly9cMl1Gcl1cLaiAAo7cTJoByh1MPYJdlGt aFoEWNAonoUS0qHDx/p/fgUQMFZf3KSPAQlYNQc0pZV5c91a+2D04agZs+mtScWKT0R8 wnW9mfDzr/+Ejnz91KQs8zOnxo3vB17WhjiC3WuY8Kj/7mQZ9BKCFT7IFDeDfNuYbM3o /KeaY5TMJUivwVQ7L5vZW7x09S8ZX+E652aoJUF/F07YAP9wxw3Fr50a+zteaAq9K/k9 HRyVTuoE8uSAqfIjYKTM4YZ9ftpEwftqGTWEqui2kTIBjYg6iuR75IiI3J2DLXGaudn1 dfmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714572107; x=1715176907; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MRQauao233bl7PaCKp2AAgdkPImfXRP53eHl06LQeag=; b=o8BnSgM4lBfee62XoFYgD4dYjbezc2CswRBjfcYbsp5bNz1s9vCqO/ytlB5Kbkoh2W ytTcQQBvtwLWk0VcyE30GZSkuAOshGlwfzC9RQry0K7Vwmwns2PYXaiqxdhYvgXGZIfH oBUAN3CEKBgCBC6lG6S6UslEdr/hnuBfE7Lnrrs1Kx/9/UdGFSFHohO9s23w2MDKWXwU ycjCKcbwluNg9rpEWrgt23zsLW0z2K9SoPp1qJu0DMWANccMEvTx4K27BSBgpOUBjWk0 vn1bVmmrVmIge9vvqX1E50EpX12os2/1ShpEWLyfFFlSC5cUBKyiT2fV9VV9S+Qnr/dE XKnQ== X-Forwarded-Encrypted: i=1; AJvYcCXH3oOT8YLQ1w7zhaVVShJ+aerLkTDuPlxKLwFEONsICjxpeBUB41XX53kWUtiV/ZNrLPB2otYI27PuTK4YECSSPuPOOca/AmpfAF8h X-Gm-Message-State: AOJu0YwK7mHj/9G7EpxE4Nere4TZDzjpMAqMgR4cMLJT+W1cVH9Ou+8r vbV5RlUvqwPdYP2bEHFuPp5aE3kUR7rKKjSm9SkEobsFx/Erw/KdK4c1/CYdARI= X-Received: by 2002:a5d:4a05:0:b0:34c:a488:e6d0 with SMTP id m5-20020a5d4a05000000b0034ca488e6d0mr1782698wrq.36.1714572106928; Wed, 01 May 2024 07:01:46 -0700 (PDT) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id n12-20020a5d4c4c000000b0034de40673easm1117019wrt.74.2024.05.01.07.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 07:01:46 -0700 (PDT) Date: Wed, 1 May 2024 15:01:44 +0100 From: Daniel Thompson To: R Sundar Cc: Lee Jones , Jingoo Han , Helge Deller , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, javier.carrasco.cruz@gmail.com, Julia Lawall , Shresth Prasad Subject: Re: [PATCH] backlight: sky81452-backlight: replace of_node_put with __free Message-ID: <20240501140144.GA10180@aspen.lan> References: <20240501125146.33648-1-prosunofficial@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: <20240501125146.33648-1-prosunofficial@gmail.com> On Wed, May 01, 2024 at 06:21:46PM +0530, R Sundar wrote: > Use the new cleanup magic to replace of_node_put() with > __free(device_node) marking to auto release when they get out of scope. > > Suggested-by: Julia Lawall > Signed-off-by: R Sundar Thanks for the patch but I think this one is a more appropriate solution to this issue: https://lore.kernel.org/all/20240421104916.312588-2-shresthprasad7@gmail.com/ Daniel.