From: Jani Nikula Date: Thu, 26 Mar 2015 22:20:22 +0000 (+0200) Subject: drm/i915: base gmbus pin validity check on the gmbus pin map array X-Git-Tag: omap-for-v4.2/fixes-rc1^2~17^2~58^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ac7939d2a6cb67e338e72cf6aaff2ae526b026;p=pandora-kernel.git 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 Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed