Hi all, I was planning on adding some connector type specific stuff in the sysfs for DP, but ended up scrapping the plan midway through it. However I was left with some drm sysfs cleanup to make it easier; here are the *untested* patches. Basically the series addresses the code comment from Dave since the dawn of modesetting time: /* * In the long run it maybe a good idea to make one set of * optionals per connector type. */ Any functional or user visible changes in the series are bugs. BR, Jani. Jani Nikula (4): drm/sysfs: add a helper for extracting connector type from kobject drm/sysfs: make optional attribute groups per connector type drm/sysfs: split DVI-I and TV-out attributes drm/sysfs: remove unnecessary connector type checks drivers/gpu/drm/drm_sysfs.c | 160 +++++++++++++++++++++++++++----------------- 1 file changed, 98 insertions(+), 62 deletions(-) -- 2.1.4 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel