mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
device property: Constify parameter in fwnode_graph_is_endpoint()
Constify parameter in fwnode_graph_is_endpoint() since it doesn't alter anything related to it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20221004092129.19412-4-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
23ead33bc6
commit
a1bfed6094
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ struct fwnode_handle *fwnode_graph_get_remote_port(
|
||||||
struct fwnode_handle *fwnode_graph_get_remote_endpoint(
|
struct fwnode_handle *fwnode_graph_get_remote_endpoint(
|
||||||
const struct fwnode_handle *fwnode);
|
const struct fwnode_handle *fwnode);
|
||||||
|
|
||||||
static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode)
|
static inline bool fwnode_graph_is_endpoint(const struct fwnode_handle *fwnode)
|
||||||
{
|
{
|
||||||
return fwnode_property_present(fwnode, "remote-endpoint");
|
return fwnode_property_present(fwnode, "remote-endpoint");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue