Re: [PATCH 4/9] OF: import bus/device related functions from Linux OF API

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

 



On 06/26/13 08:11, Sascha Hauer wrote:
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.

True, and again I am wondering why my pre-commit checkpatch hook didn't
catch it.

Queued for v2.

Sebastian

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux