drivers/base: make device_find_child_by_name() compatible with sysfs inputs