Re: [RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-16 Thread Grant Likely
On Wed, Mar 11, 2009 at 11:00 AM, Greg KH gre...@suse.de wrote: On Wed, Mar 11, 2009 at 10:35:29AM -0600, Grant Likely wrote: On Wed, Mar 11, 2009 at 10:26 AM, Greg KH gre...@suse.de wrote: On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: From: Grant Likely

Re: [RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-11 Thread Greg KH
On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca bus_register_notifier_alldev() is a variation on bus_register_notifier() which also triggers the notifier callback for devices already on the bus and already bound to drivers. This

Re: [RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-11 Thread Grant Likely
On Wed, Mar 11, 2009 at 10:26 AM, Greg KH gre...@suse.de wrote: On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca bus_register_notifier_alldev() is a variation on bus_register_notifier() which also triggers the notifier callback for

Re: [RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-11 Thread Greg KH
On Wed, Mar 11, 2009 at 10:35:29AM -0600, Grant Likely wrote: On Wed, Mar 11, 2009 at 10:26 AM, Greg KH gre...@suse.de wrote: On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: From: Grant Likely grant.lik...@secretlab.ca bus_register_notifier_alldev() is a variation on

[RFC] drivers/base: Add bus_register_notifier_alldev() variant

2009-03-06 Thread Grant Likely
From: Grant Likely grant.lik...@secretlab.ca bus_register_notifier_alldev() is a variation on bus_register_notifier() which also triggers the notifier callback for devices already on the bus and already bound to drivers. This function is useful for the case where a driver needs to get a