drm/i915/intel_i2c: refactor gmbus_xfer
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 27 Mar 2012 18:36:10 +0000 (02:36 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Mar 2012 07:23:37 +0000 (09:23 +0200)
commit924a93edc96b7f7e08a0af7a2f9afe4827bab103
tree929ff22346337429f61291b0e910dc6186298f9f
parente7e58eb5c0d1d7d1a42fcb2b5a247d28ec08b47e
drm/i915/intel_i2c: refactor gmbus_xfer

Split out gmbus_xfer_read/write() helper functions.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_i2c.c