OSDN Git Service

drm/sysfs: add a helper for extracting connector type from kobject
authorJani Nikula <jani.nikula@intel.com>
Tue, 12 May 2015 09:14:52 +0000 (12:14 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 May 2015 17:15:52 +0000 (19:15 +0200)
commit7d4d3a5849126e64867185d651c76a2998dcdf3a
treecf704e46e8a3989f1a01fb26465048dc0268c910
parent4d53dc0c02c1ad74dbeda89a9245f7fe15d45d02
drm/sysfs: add a helper for extracting connector type from kobject

This reduces duplication in the patches to follow. No functional
changes.

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