Re: [PATCH] drivers:input:set driver data to NULL for pcap_keys

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2011-07-25 08:30:54
Reply to
Wanlong Gao, 2011-07-20
On Wed, Jul 20, 2011 at 11:34:28PM +0800, Wanlong Gao wrote:
It's better to set the device's driver data to NULL
when remove it.
I'd rather have platform devices core clean up this pointer, then we
could stop caring about it in all drivers...

Thanks.

-- 
Dmitry
Thread (19 messages) 19 messages, 5 authors, last reply 2011-07-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help