drm/i915: don't register invalid gmbus pins for bdw
authorJani Nikula <jani.nikula@intel.com>
Wed, 6 May 2015 12:33:43 +0000 (15:33 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:50 +0000 (11:25 +0200)
commitc1bad5b6524b2da842f34862ff9c9c57434b35a8
tree7906fc6b1bd305cc8967b2465ba90e5d4732d4f8
parentdcb58a40caeb77b937d7930eafc5bd22373a754e
drm/i915: don't register invalid gmbus pins for bdw

Do not expose invalid gmbus pins as i2c devices to userspace.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_i2c.c