fix removing output_attrs

fix a typo in removing output sysfs.

Signed-off-by: Hong Liu <hong.liu@intel.com>
main
Hong Liu 2008-04-18 16:26:41 +08:00 committed by Jesse Barnes
parent 21a93915d8
commit c250104c8f
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ void drm_sysfs_output_remove(struct drm_output *output)
int i;
DRM_DEBUG("removing \"%s\" from sysfs\n", drm_get_output_name(output));
for (i = 0; i < i; i++)
for (i = 0; i < ARRAY_SIZE(output_attrs); i++)
device_remove_file(&output->kdev, &output_attrs[i]);
sysfs_remove_bin_file(&output->kdev.kobj, &edid_attr);
device_unregister(&output->kdev);