[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZzsAtql66f4hd4d1@kekkonen.localdomain>
Date: Mon, 18 Nov 2024 08:54:14 +0000
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: linux@...blig.org
Cc: andriy.shevchenko@...ux.intel.com, djrscally@...il.com,
heikki.krogerus@...ux.intel.com, rafael@...nel.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] device: property: Remove deadcode
Hi David,
Thanks for the patch.
On Sat, Nov 16, 2024 at 12:32:53AM +0000, linux@...blig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@...blig.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@...blig.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
Powered by blists - more mailing lists