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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jan 17 23:06:38 PST 2017


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 at gmail.com>
> ---
>  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



More information about the linux-arm-kernel mailing list