Thread (21 messages) 21 messages, 9 authors, 2017-08-28

[patch v1 1/2] drivers: jtag: Add JTAG core driver

From: andrew@lunn.ch (Andrew Lunn)
Date: 2017-08-02 14:16:44
Also in: linux-devicetree, linux-serial, lkml, openbmc

+void jtag_unregister(struct jtag *jtag)
+{
+	struct device *dev = jtag->dev;
+
+	mutex_lock(&jtag_mutex);
+	list_add_tail(&jtag->list, &jtag_list);
add?
+	mutex_unlock(&jtag_mutex);
+	cdev_del(&jtag->cdev);
+	device_unregister(dev);
+	ida_simple_remove(&jtag_ida, jtag->id);
+}
  Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help