Thread (19 messages) flat view 19 messages, 5 authors, 2011-07-26

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

From: Greg KH <gregkh@suse.de>
Date: 2011-07-25 15:22:50

On Mon, Jul 25, 2011 at 05:14:11PM +0800, Wanlong Gao wrote:
On 07/25/2011 04:30 PM, Dmitry Torokhov wrote:
quoted
On Wed, Jul 20, 2011 at 11:34:28PM +0800, Wanlong Gao wrote:
quoted
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...
But the platform devices core just call the method of each own.
And don't care about the details like pdata, etc.

Meanwhile, I think the platform core need not care about these details.

and Greg, what do you think about this?
I don't understand what you are asking me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help