drm/i915/intel_i2c: allocate gmbus array as part of drm_i915_private
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 27 Mar 2012 18:36:16 +0000 (02:36 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Mar 2012 13:03:28 +0000 (15:03 +0200)
This memory is always allocated, and it is always a fixed size, so just
allocate it along with the rest of the driver state.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found