Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7928044pxb; Fri, 19 Feb 2021 03:04:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRO/AjOj94Pxc2SUrm8TMyu/EWa68zO8u8M/RVYVbJ1vPmYrAF5HUnc9a6q2JgVN5L3pgh X-Received: by 2002:a50:e183:: with SMTP id k3mr8730362edl.45.1613732667539; Fri, 19 Feb 2021 03:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613732667; cv=none; d=google.com; s=arc-20160816; b=B8MD+Fogt+OKys/QCufZQ18T+tE5DbhqyDhK/rzhmbhZ7w0YYJaustc4OjR4v1WOH8 FzXD24WlvkiJmfVvKpdDKvqpR3hVdOyWwZl5Ab3+oWKQrll41ruhkMaZ7jUFe0c5agyA BY0DuriuwLutQRSA+Sb08VT9EpM7kxNPnoFa25z61cTQ1+bRFto/MiTQUTDcqSWSYXWG B7h6hR4XBH+3wijVPtF9dZO0KXLx4ByKeIREW8qP/mB2mRYbuGKMTgtsFe0z/f3SQZp5 cU25wgkIMw9RXJtHz6b96LBv3OstuwCs+jMquPrjCYV/BsEqkBWhja07oYWNKmVuwH63 dBjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=uv/9FRaiSdWXBtoSeumgJjyIkdknUx5d9wRTfA14/QM=; b=zcIwpsdT6bEH24l3k2/RqmzJE5Y7oU2ORcLqm60S9v9ksOkn1UjtVgQuGqWo7O4ZBs h8nFaoNuATQ/a7JhlDlxvurkVUq+0uniTxgja5s+HnAYhbv7H2kjtK1p/Dsy/SRILgHU oQyug5Pln9tbJsJ9vxWUNqhsxXqD8J233Eap4swVm8ifS+3bRk4cBvGfysnm+wk04Hxj uLCGBVrCk0DiW2OwoDAtnGzofW5gRBlSu+A+owy38jkTvivqi4X9Piy8WkuNseNdxdzA X9CLUh43ciZA4cPOjd9d8UmGNDq3uZdI0Ubd3J87HHhBRNcNWKz6HQxNVi7PcGXxKHN3 E5Mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn25si4131730edb.503.2021.02.19.03.04.02; Fri, 19 Feb 2021 03:04:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbhBSLDb (ORCPT + 99 others); Fri, 19 Feb 2021 06:03:31 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:48152 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbhBSLD2 (ORCPT ); Fri, 19 Feb 2021 06:03:28 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id EB3821C0B8A; Fri, 19 Feb 2021 12:02:27 +0100 (CET) Date: Fri, 19 Feb 2021 12:02:27 +0100 From: Pavel Machek To: Jacek Anaszewski Cc: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , Dan Murphy , Bjorn Andersson , Andy Gross , Rob Herring , linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Brian Masney , Luca Weiss , Russell King , Georgi Djakov , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com Subject: Re: [PATCH v2 2/4] leds: Add driver for QCOM SPMI Flash LEDs Message-ID: <20210219110227.GG19207@duo.ucw.cz> References: <20210126140240.1517044-1-nfraprado@protonmail.com> <20210126140240.1517044-3-nfraprado@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8S1fMsFYqgBC+BN/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8S1fMsFYqgBC+BN/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include >=20 > Please sort includes alphabetically. No need to do that. > > +#define FLASH_SAFETY_TIMER 0x40 >=20 > Namespacing prefix is needed for macros, e.g. QCOM_FLASH*. No need for that in .c files. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --8S1fMsFYqgBC+BN/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYC+awwAKCRAw5/Bqldv6 8s5wAKCy/ZmJf8+DzVgfyQqYABgdGse2/wCgtC5cNGGLiA0qrqO5gJ/hLjKqyCY= =cQCL -----END PGP SIGNATURE----- --8S1fMsFYqgBC+BN/--