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 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 wrote: >> > On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: >> >> From: Grant Likely >> >> >> >> bus_register_notifier_allde

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 wrote: > > On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: > >> From: Grant Likely > >> > >> bus_register_notifier_alldev() is a variation on bus_register_notifier() > >> which

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 wrote: > On Fri, Mar 06, 2009 at 09:10:19AM -0700, Grant Likely wrote: >> From: Grant Likely >> >> bus_register_notifier_alldev() is a variation on bus_register_notifier() >> which also triggers the notifier callback for devices already on the bus >> and

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 > > 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 f

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

2009-03-06 Thread Grant Likely
From: Grant Likely 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 reference to a struct device other