[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YqCI3N6+fRtoK66D@kroah.com>
Date: Wed, 8 Jun 2022 13:32:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org,
linux-spi@...r.kernel.org, "Rafael J. Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH v1 1/2] driver core: Introduce device_find_first_child()
helper
On Tue, Jun 07, 2022 at 11:20:57PM +0300, Andy Shevchenko wrote:
> There are several places in the kernel where this kind of functionality is
> being used. Provide a generic helper for such cases.
This feels really wrong/broken.
There should not be any specific ordering of children in the tree. What
subsystem relies on this such that they require this?
thanks,
greg k-h
Powered by blists - more mailing lists