On Tue, Jun 25, 2013 at 11:20:42AM +0200, Sebastian Hesselbarth wrote: > +struct device_d *of_find_device_by_node(struct device_node *np) > +{ > + struct device_d *dev; > + > + for_each_device(dev) > + if (dev->device_node == np) > + return dev; > + return NULL; > +} There's some whitespace damage in this function. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox