Hi Sakari
> > +struct device_node *of_graph_get_next_endpoint_raw(const struct device_node *port,
> > + struct device_node *endpoint)
> > +{
> > + if (!port)
> > + return NULL;
>
> of_get_next_child() returns NULL if node is NULL, hence there's no need to
> check this.
Thanks, will fix in v3
Thank you for your help !!
Best regards
---
Renesas Electronics
Ph.D. Kuninori Morimoto
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]