Re: [Intel-gfx] [PATCH 1/2] drm/i915: simplify gmbus xfer error checks

2015-12-01 Thread Ville Syrjälä
On Tue, Dec 01, 2015 at 04:29:25PM +0200, Jani Nikula wrote: > Shorter, easier to follow code with no functional changes. In all cases, > the return value ultimately comes from gmbus_wait_hw_status() anyway. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_i2c.c | 12 ---

[Intel-gfx] [PATCH 1/2] drm/i915: simplify gmbus xfer error checks

2015-12-01 Thread Jani Nikula
Shorter, easier to follow code with no functional changes. In all cases, the return value ultimately comes from gmbus_wait_hw_status() anyway. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_i2c.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/