Received: by 2002:ac0:8f67:0:0:0:0:0 with SMTP id z94-v6csp10531imb; Thu, 11 Oct 2018 14:12:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63DCsMZQ/UXamMjkvZVah/tk26F+ps3lSpVj8mKws7GUmnyFyX2ord76OWAq80jklFdhAoH X-Received: by 2002:a63:fa09:: with SMTP id y9-v6mr2856529pgh.177.1539292348229; Thu, 11 Oct 2018 14:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539292348; cv=none; d=google.com; s=arc-20160816; b=M9fzg4XgxvQjrnnRYNL+4QsWx1aywJJwBg9irKXLevOnLsRW/RVWB9hstuD3gwYUNF 10Uwe2ZPRpiVNFGmyOvJWMZ5ZRmqO6uj8lEizUp6lXeHRo634TYtOdOUH2+aWzqaM6Iz RMV/pz3GdcyWNFBiBILTb6zhwcxzx2UVhqr0nnS8XtjjyWOPoPOKn6Fn5F0o0Y4SKUCE L7/z3gJW+lSQcL2u+sFirO9XjrXRBfsIWvZpNdRma1q9Z7VorfkMNi9LBx9/92tbDMPS fHr2ZyrGsffCiBDoWRrCnxLlXzvdrGvch5vBrx8Yf+YV1mQ+A/xHvh76a6CzaAWqTRqF ctFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NiOJHR3RpksO/wKv6lptqVqWTCmfC95ZPzecmrsXfV4=; b=UAIwU0L1IS8MwDc+kXEujv6zf9oKuTLSBFL3Ni56rUwOpYVeZeMElWsW0YhjlXae1t y5aU/1X8EFMLcEfJGk6E/sHF/drJrOG2XxhHL51HadowhawFMxju92Cv2JsCcydmB3Sq Ze9y/k29QC+6eSGAqgMTEMpj5CzrTr2vDaGCftBcl5K53m/ssBMVwJG7/0WMe5t016Kr nn2tMRAmuFfG9NGyf2/FQsb11JS35/WtRWUxtWKRSiBzyV3e/13sKBvZQqu5+ICucntE OwRK9GZXxqmnmCh0sBLQ5tNUnK48z9M7bOLHA7MnfGCryHYyZzWEvzNI/0xMC5jMOutp kDCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1-v6si29583279pfc.156.2018.10.11.14.12.13; Thu, 11 Oct 2018 14:12:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbeJLEkc (ORCPT + 99 others); Fri, 12 Oct 2018 00:40:32 -0400 Received: from sauhun.de ([88.99.104.3]:41710 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbeJLEkc (ORCPT ); Fri, 12 Oct 2018 00:40:32 -0400 Received: from localhost (p54B3377B.dip0.t-ipconnect.de [84.179.55.123]) by pokefinder.org (Postfix) with ESMTPSA id 4AC512E3577; Thu, 11 Oct 2018 23:11:27 +0200 (CEST) Date: Thu, 11 Oct 2018 23:11:26 +0200 From: Wolfram Sang To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, Karthikeyan Ramasubramanian , Sagar Dharia , Girish Mahadevan , Doug Anderson Subject: Re: [PATCH v3 3/3] i2c: i2c-qcom-geni: Simplify irq handler Message-ID: <20181011211126.r7sxqvrxce22wdk5@katana> References: <20180924235235.182649-1-swboyd@chromium.org> <20180924235235.182649-3-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gw4hxvqsow7do7fv" Content-Disposition: inline In-Reply-To: <20180924235235.182649-3-swboyd@chromium.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gw4hxvqsow7do7fv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 24, 2018 at 04:52:35PM -0700, Stephen Boyd wrote: > We don't need to use goto here, we can just collapse the if statement > and goto chain into multiple branches and then combine some duplicate > completion calls into one big if statement. Let's do it to clean up code > some more. >=20 > Cc: Karthikeyan Ramasubramanian > Cc: Sagar Dharia > Cc: Girish Mahadevan > Cc: Doug Anderson > Signed-off-by: Stephen Boyd Applied to for-next, thanks! --gw4hxvqsow7do7fv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlu/vH4ACgkQFA3kzBSg KbYdcg/9EmvZmbD3Pll1WJOOnuCOWr1DMUsz3YGx6HbchQySbJvNtY7+CB8U3xHT RzLhjeMpSty7FfCM1WxV2TeKQMJNytYIuQfq/mGQVbJvcCQ1T7VCuAfYGyQutUIL Y5ZhJGbNEMZ0pzv7f/qEG656wyyOtTRB+/UrzQtwKG2U+YLFm0l3r76Se2uUqPmg h/+brH4Wlr7hYmAwwHBeVQt+gjFdGxS3zCjSPeyPmgD0Ab577dMh/pLN+3LjU4XS dNnXvoG158udEzF+ELtq32mTmdVuo08KcvTeF9oY5uSVlhS0nAQSlGtF4vSRr9jg vlKI451sUtIR0VDMrbD+A1Dqd5hR2GBR5tn7W6gqqSvZ7B50EhcMw7qDf/27KpmW ZUNI2N9PhMMPSRphcu2ert45bxruPiA1q7+4IyUovqZbj33Xul94BjEJW0j0ZYnB gjaO167U5P0lkrGUBE4t/tHHOUSVqt1G99Y+gd3FRg+jh9iqU0bfjF+WzBT0lUTS bh2tb6EoJjYDmmXIl0zR0SZnBpoGHBrRHq3/pgIhZPBvksNkV5ODTwO7XO5ulWkt 9b+hV/HQ2x1m0TbN/c1RO0LiT3ZJxb8tNucMWsVizznDb5YaKecKsQ7Yax9p7NAa dreRUpu07L9xlCeY8oduVhRdWDpvscNMzJ4IDbeg6wkGbkGkAb4= =rDgc -----END PGP SIGNATURE----- --gw4hxvqsow7do7fv--