driver core: convert to use class_find_device api