---
name: "bus_find_device_by_name"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/bus_find_device_by_name"
---

# bus\_find\_device\_by\_name(9)

device iterator for locating a particular device of a specific name

## NAME

bus\_find\_device\_by\_name - device iterator for locating a particular device of a specific name

## SYNOPSIS

**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

## DESCRIPTION

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.

## COPYRIGHT
