drm/i915: base gmbus pin validity check on the gmbus pin map array
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 Mar 2015 22:20:22 +0000 (00:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 Apr 2015 12:11:56 +0000 (14:11 +0200)
commit88ac7939d2a6cb67e338e72cf6aaff2ae526b026
treec4bbbb557e19488b6c4c07c5d290805136d085f9
parent5ea6e5e36ee54a83dfef9739f006a6a91d00e7fe
drm/i915: base gmbus pin validity check on the gmbus pin map array

This will be helpful for adding future platforms. It is better to keep
the information in the single point of truth (the table) instead of
duplicating it into the validity function.

While at it, add dev_priv parameter to the function, also to prepare for
adding future platform support.

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/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_i2c.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_sdvo.c
This page took 0.025833 seconds and 5 git commands to generate.