Re: [PATCH net-next v4 05/10] drivers: base: Add device_find_in_class_name()

From: Greg Kroah-Hartman
Date: Wed Jan 18 2017 - 02:13:40 EST


On Tue, Jan 17, 2017 at 03:21:47PM -0800, Florian Fainelli wrote:
> Add a helper function to lookup a device reference given a class name.
> This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and
> make it more generic.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> drivers/base/core.c | 31 +++++++++++++++++++++++++++++++
> include/linux/device.h | 2 ++
> 2 files changed, 33 insertions(+)

My NAK still stands here, please give me a day or so to respond to the
other thread about this...

thanks,

greg k-h