From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759579AbaGXPjt (ORCPT ); Thu, 24 Jul 2014 11:39:49 -0400 Received: from kdh-gw.itdev.co.uk ([89.21.227.133]:7598 "EHLO hermes.kdh.itdev.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759405AbaGXPjr (ORCPT ); Thu, 24 Jul 2014 11:39:47 -0400 Message-ID: <53D128C1.9020707@itdev.co.uk> Date: Thu, 24 Jul 2014 16:39:45 +0100 From: Nick Dyer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Dmitry Torokhov , linux-input@vger.kernel.org CC: Yufeng Shen , Benson Leung , Daniel Kurtz , Iiro Valkonen , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: atmel_mxt_ts - simplify mxt_initialize a bit References: <20140723215054.GA14362@core.coreip.homeip.net> In-Reply-To: <20140723215054.GA14362@core.coreip.homeip.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/07/14 22:50, Dmitry Torokhov wrote: > I think having control flow with 2 goto/labels/flags is quite hard to read, > this version is a bit more readable IMO. > > Signed-off-by: Dmitry Torokhov Yes, this looks much clearer to me. Although I can't see anything wrong looking at it, I think I should probably regression test it for the different failure paths before it is applied, I will bring it into my series.