bus_find_device_by_name(9)

bus_find_device_by_name9

Device iterator for locating a particular device of a specific name

Usage

struct device * bus_find_device_by_name(struct bus_type * bus, struct device * start, const char * name);

Arguments

bus

bus type

start

Device to begin with

name

name of the device to match

Overview

This is similar to the bus_find_device function above, but it handles searching by a name automatically, no need to write another strcmp matching function.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.