public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Rob Herring <robh@kernel.org>
Cc: Saravana Kannan <saravanak@google.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] of: Add a helper to free property struct
Date: Sat, 6 Apr 2024 17:47:34 +0100	[thread overview]
Message-ID: <20240406174734.0a994e52@jic23-huawei> (raw)
In-Reply-To: <20240404-dt-cleanup-free-v1-1-c60e6cba8da9@kernel.org>

On Thu, 04 Apr 2024 09:15:10 -0500
Rob Herring <robh@kernel.org> wrote:

> Freeing a property struct is 3 kfree()'s which is duplicated in multiple
> spots. Add a helper, __of_prop_free(), and replace all the open coded
> cases in the DT code.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>


  parent reply	other threads:[~2024-04-06 16:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 14:15 [PATCH 0/3] of: Use __free() based cleanups Rob Herring
2024-04-04 14:15 ` [PATCH 1/3] of: Add a helper to free property struct Rob Herring
2024-04-04 23:09   ` Saravana Kannan
2024-04-06 16:47   ` Jonathan Cameron [this message]
2024-04-04 14:15 ` [PATCH 2/3] of: Use scope based kfree() cleanups Rob Herring
2024-04-04 23:15   ` Saravana Kannan
2024-04-05 12:43     ` Rob Herring
2024-04-05 19:12       ` Saravana Kannan
2024-04-06 16:51   ` Jonathan Cameron
2024-04-04 14:15 ` [PATCH 3/3] of: Use scope based of_node_put() cleanups Rob Herring
2024-04-04 23:21   ` Saravana Kannan
2024-04-05 13:00     ` Rob Herring
2024-04-05 19:12       ` Saravana Kannan
2024-04-06 17:17   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240406174734.0a994e52@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=saravanak@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox