drm/sysfs: remove unnecessary connector type checks
authorJani Nikula <jani.nikula@intel.com>
Tue, 12 May 2015 09:14:55 +0000 (12:14 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 May 2015 17:15:53 +0000 (19:15 +0200)
commitcbfa9faea1f6cb2b5d271acb1d4a08295f075b87
treec6b5738577b3832a33a086af8194f8f93ae33a88
parent4bb4637b26a28c724a9edaed2290ffed7e0dcc8f
drm/sysfs: remove unnecessary connector type checks

These attributes should be exposed for the matching connector types
only, so checking is redundant.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_sysfs.c