Thread (4 messages) 4 messages, 2 authors, 2009-10-15

RE: [PATCH 1/1] Polled input device: add device open and close methods

From: <hidden>
Date: 2009-10-15 05:51:51

 >input_dev *input)
quoted
 	if (error)
 		return error;
 
+	if (dev->open)
+		dev->open(dev);
+
 	if (dev->flush)
 		dev->flush(dev);
Hmm... I think having both open and flush is overkill. My 
fault for not looking closer, I will kill the flush and 
convert existing users to open.
Good. So I can continue work with my drivers with an assumption that
there are open and close methods available at some point.

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