Thread (40 messages) 40 messages, 8 authors, 2017-01-14

Re: [PATCH 7/9] serdev: Introduce new bus for serial attached devices

From: Pavel Machek <hidden>
Date: 2017-01-10 21:46:24
Also in: linux-serial, lkml

Hi!
+static void serdev_ctrl_release(struct device *dev)
+{
+	struct serdev_controller *ctrl = to_serdev_controller(dev);
+	ida_simple_remove(&ctrl_ida, ctrl->nr);
+	kfree(ctrl);
+}
Would it make sense to do something like to_serdev_controller(dev) =
NULL; there?
+MODULE_AUTHOR("Rob Herring <robh@kernel.org");
Missing >.

Thanks,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help