Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6192386ybi; Wed, 31 Jul 2019 09:51:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyz83r9gQIF4xsQpj5HpuR3plLzqzou7Wrci9CUIe+MQQHkml658zDu9Vn8ji7z3I3+tkhG X-Received: by 2002:a17:902:bb81:: with SMTP id m1mr37748667pls.125.1564591907742; Wed, 31 Jul 2019 09:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564591907; cv=none; d=google.com; s=arc-20160816; b=ldCLMhcuePff14S3fEHdO3G2KM2k1Apa6JsmXcXOPHmmxzYbMJe/70jg9anOFOT5cV 8rpjmjJosFAbGdiaQHhK/fn2T9snUnw3BWYZagNb1h55hAKWeVIU3Cx7D8LGCuHNp2Qu GHwuQml+TdRCT0+VrO3i7JPoyLigjJpvGjc1MMnvdvmD1czI9bhhrBsF59+cJSwvGF7E ZerybDdP3l8NPmLM9j5I5hx/hXf0a3v5FBB3FHzsaO49NPVhGrbFLIlDfVGLYqHkVkHd QYCjDRDrsMxuEKNsez2by359wdMPxeaXCMU1dJHbrEUbAxf8ZY7ewVfTqDGdOdkPwJ4K h46A== 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=rD9bH4THtznM/ykOes+MBzYinBR1oSr1YMpjeS+TpqQ=; b=uhLFX3/h3V+eqTio782RXvGPCc3QhrJtEVve09O1D8iqpGr1Q6wFk4igVCfMpaehe7 gFCTz2yNenrJJyljfqNrDnMKeWEzUqcDRJEhb7yo5Bp5RESTS1d1FgtCScW3HPvPfA71 njOALblaU417/64Nuc9Y71MW/Wo3/WY8Hsdzj+IUb9UpkjVnvgklM220wQs35LgD+5ou zQAFHZXmKcFgm+d4aeMy0UYzUJbi0mX+iEQbQVxpt5UH4p/vFzRkrWK5wnhsbaMdeba4 Nc8Sf/R5L/pBA0Isgk7klF3Kbzj9ES9ZqWYaPsMSTumAXeLvg7yfGfl6kM7S0cwjcHRn vlEA== 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 d12si31928507pla.121.2019.07.31.09.51.32; Wed, 31 Jul 2019 09:51:47 -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 S1729234AbfGaOaN (ORCPT + 99 others); Wed, 31 Jul 2019 10:30:13 -0400 Received: from sauhun.de ([88.99.104.3]:42046 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbfGaOaN (ORCPT ); Wed, 31 Jul 2019 10:30:13 -0400 Received: from localhost (p54B33080.dip0.t-ipconnect.de [84.179.48.128]) by pokefinder.org (Postfix) with ESMTPSA id 96AAC2C270A; Wed, 31 Jul 2019 16:30:11 +0200 (CEST) Date: Wed, 31 Jul 2019 16:30:11 +0200 From: Wolfram Sang To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH v6 18/57] i2c: Remove dev_err() usage after platform_get_irq() Message-ID: <20190731143011.GB1680@kunai> References: <20190730181557.90391-1-swboyd@chromium.org> <20190730181557.90391-19-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" Content-Disposition: inline In-Reply-To: <20190730181557.90391-19-swboyd@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > -dev_err(...); What about pr_err, ...? > While we're here, remove braces on if statements that only have one > statement (manually). You can let cocci do this for you, too. From the top of my head: if (...) - { S - } with S being a statement and this rule depending on the matching rule. --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1BpfMACgkQFA3kzBSg KbYd2xAAq3Fa3pEk4zsTqHw98EaB/Ko5iBApFcFnoiPINoT9hj6CiXIaRsRygAKY tVMDFDymLmplNlXU+lrc0NVQQ6irFzHeTTYt/BSkFjh30rhJOW1JnfJrRmfqrCpt N/+2dH+5j3qGZW22NCQUOmEZTZuGKqSwqeyyqJMfcAUokzHCWuFibmN6yXm9QoJY veOJuSqabB2H9dLHLwYFQ3Yiy+6S3s/puMnvZd4qMqsmjxVgO1E0Xg6CeLsqTKyc mu/Lo0Qm9FSRLeO+2YgaYt8JGJBS9Vm2eXoNYXYorrIJXZ/yglKixt0DeJbvbyvw bga7P09n9H0bmk4kYJbIQpM30MHFrAa63y6vpsteyC/zeEVLyPDOaokx6QVZxOuJ gLHZK/oUnvBS97S2xxJjX0cuejLPjNt1zhx1AJvB29jaPl1J2RLkKyV1hLB/um3S R1SjHBsqVREHaLGAlgd4fGHF6IiEfOIJWBXB8FXhQ5WcAkF8Rj4Vg9KV/FrQYpE0 OeW8VW43BhPSmjphOJNAc7pg5Jcl+z2JiX0ABjUtEon4HjscaRpDQ99oYDz9dZJ5 0EB0Xcni9EO7gO0nH400BfGwpszheOVpQxfsQj1BQxFFr6nogjEQYI1k5MmM/REt y2Wo3RiI6i3yRtCaeFjtzVAOYGTrVexGjgNzuMKwa61m9Ox32TU= =LV2u -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--