/* @dev should have all relevant members pre-filled with the exception of the class member. In particular, the device_type member must be set.  */
int drm_class_device_register(struct device *dev)
/* @dev should have all relevant members pre-filled with the exception of the class member. In particular, the device_type member must be set.  */
int drm_class_device_register(struct device *dev)
{
	dev->class = drm_class;
	return device_register(dev);
}