This macro finds a device whose name matches the name argument. The search is not case-sensitive (that is, the kernel does not distinguish uppercase and lowercase letters in device names).
Arguments
name
The name of the device to find.
Return Value
The macro returns the item number of the device or an error code if an error occurs.