public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux@treblig.org
Cc: andriy.shevchenko@linux.intel.com, djrscally@gmail.com,
	heikki.krogerus@linux.intel.com, rafael@kernel.org,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] device: property: Remove deadcode
Date: Mon, 18 Nov 2024 08:54:14 +0000	[thread overview]
Message-ID: <ZzsAtql66f4hd4d1@kekkonen.localdomain> (raw)
In-Reply-To: <20241116003253.335337-1-linux@treblig.org>

Hi David,

Thanks for the patch.

On Sat, Nov 16, 2024 at 12:32:53AM +0000, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> fwnode_graph_get_endpoint_count() was added in 2021 by
> commit c87b8fc56966 ("device property: Implement
> fwnode_graph_get_endpoint_count()")
> 
> but has never been used.
> 
> fwnode_graph_get_remote_port() has been unused since 2017's
> commit 6a71d8d77795 ("device property: Add fwnode_graph_get_port_parent")
> 
> Remove them.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Both of the functions also exist to span the same scope as the OF API,
hence they should exist as long as the OF framework continues to provide
these API functions. The equivalent OF functions are used by drivers
currently.

-- 
Kind regards,

Sakari Ailus

      reply	other threads:[~2024-11-18  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-16  0:32 [PATCH] device: property: Remove deadcode linux
2024-11-18  8:54 ` Sakari Ailus [this message]

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=ZzsAtql66f4hd4d1@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=djrscally@gmail.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@treblig.org \
    --cc=rafael@kernel.org \
    /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