drm/i915: merge struct intel_gpio into struct intel_gmbus
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Feb 2012 21:37:22 +0000 (22:37 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 29 Feb 2012 19:49:39 +0000 (20:49 +0100)
commit36c785f051b21728775c9c4f2621d37d586553d0
treeb188b3922945b0e0d28d15931489c779758e3901
parentb0209b39951868069710c1e39ca14add9fa77ada
drm/i915: merge struct intel_gpio into struct intel_gmbus

When we set up the gpio fallback, we always have a 1:1 relationship
with an intel_gmbus. Exploit that to store all gpio related data in
there, too. This is a preparation step to merge the tw i2c adapters
controlling the same bus into one.

Just mundane code-munging in this patch.

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_i2c.c