drm/i915: simplify gmbus xfer error checks
authorJani Nikula <jani.nikula@intel.com>
Tue, 1 Dec 2015 14:29:25 +0000 (16:29 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Dec 2015 11:27:46 +0000 (13:27 +0200)
commit0aeb904888f52f48ca0cc7dfec2c2f540d2a762a
tree705079befdf76b1cb11a91f35a98e45b96f3ef29
parent79bd23dadf613fb5ebc1d9aa178fd7129c3e059c
drm/i915: simplify gmbus xfer error checks

Shorter, easier to follow code with no functional changes. In all cases,
the return value ultimately comes from gmbus_wait_hw_status() anyway.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448980166-23055-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_i2c.c