Re: [PATCH 1/4] export bus_kset

From: Davide Ciminaghi
Date: Fri May 13 2011 - 13:12:09 EST


On Thu, May 12, 2011 at 09:28:53PM +0200, Rafael J. Wysocki wrote:

hi,

sorry, I missed this message this morning.

> On Thursday, May 12, 2011, Raffaele Recalcati wrote:
> > From: Davide Ciminaghi <ciminaghi@xxxxxxxxx>
>
> Please explain why you need to export it, what the alternatives are and
> why you think this approach is better than the alternatives.
>

what I needed to do was walking through the list of registered busses,
and invoking the bus_added()/bus_removed() callback of a newly registered
policy. I couldn't find any other simple way to do it.

Regards
Davide
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/