Reference

subsys_find_device_by_id(9) on Linux

The text a52286b0053b, as Debian 7 (Wheezy) shipped it.

find a device with a specific enumeration number

subsys_find_device_by_id(9) on Linux now