Re: [PATCH] device: property: Remove deadcode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

Thanks for the patch.

On Sat, Nov 16, 2024 at 12:32:53AM +0000, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
> 
> 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@xxxxxxxxxxx>

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




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux