[patch] drm/sysfs: testing the wrong variable in drm_sysfs_device_add()