Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp45950ybh; Mon, 9 Mar 2020 15:52:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsmCOU74iqMKfnAFfTa863B+Xg4pdXjHQlwoJHwlSUZ9nm9R+ourmsQwBx0vQLrATqnoGw2 X-Received: by 2002:aca:cc81:: with SMTP id c123mr148551oig.74.1583794334814; Mon, 09 Mar 2020 15:52:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583794334; cv=none; d=google.com; s=arc-20160816; b=Nw841Gfy1C6aJI2hcq/lfHC1hNTvKIZxa9WmlqKjEkDxQoD3NG5cb8Lu4qDl1mourf Dke5yylfnoAz50XcnRuCI4G9q2KFlaWRR9VvxRYAPnmGZo7zivUgjhaG9tGPtaHCbTHZ cEI7AiZfe/Wvxl+XPFZDaGYzZrTwMeTWHf6ScntrSRIjldsMCNEzKk5P4qlGrj1IfHN4 zKalnpuq/VYSPoeScZ3Dg5ml0esYf8yHRzOQvKnageG1O65+/IEFBvqafALBjaeod1Ua pv82BiTJ11TeNb91g/e8P1jf/aA5t0rBxvz/On9zx+HdiztPjVqHIXeKFFXlWr/L9Cvi LEmA== 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=v7xTv4sicjK5B7w7Wl7weShu9POKq+zJJjN1MpvDsFs=; b=C70m9MMqCRIh848KqhE4x4JFViDF+eC5ZumSQBHxPOEyigBTlOY35UIHQPfnjX+2Zi n4pvCBLAFYxcX9jLkwJLxfNeqMf7WfEPnnOgIj/yrHNVfwXvweyPmfkHqpuBU2OQhD8T ii7Qj32MIfvoQ0Iytc3ZXWNeWhS+AOaRUD05nv9SE5MVgOZ3sziHsVyBPPp+jnkecfVT Pm7m/5u3qaqSt7dI7fi/or2iUkeXhwx1G0MSz7NipaPQw6fM/OXTqqToNMlIoTZf4g+8 H9naQ8WMtnXzyJSN8NiWoHJBUdo6hRG4bnyTz6mkaa+ZlM7Z+Sf5lRwLn8+7v4XbRTcw W3tA== 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 j20si6414959otp.147.2020.03.09.15.51.59; Mon, 09 Mar 2020 15:52:14 -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 S1727225AbgCIWt3 (ORCPT + 99 others); Mon, 9 Mar 2020 18:49:29 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:37754 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbgCIWt3 (ORCPT ); Mon, 9 Mar 2020 18:49:29 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 5B0EC1C0316; Mon, 9 Mar 2020 23:49:27 +0100 (CET) Date: Mon, 9 Mar 2020 23:49:27 +0100 From: Pavel Machek To: Sakari Ailus Cc: Luca Weiss , linux-leds@vger.kernel.org, Dan Murphy , Heiko Stuebner , Icenowy Zheng , Jacek Anaszewski , Laurent Pinchart , Mark Rutland , Maxime Ripard , Rob Herring , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: Re: [PATCH 3/3] leds: add sgm3140 driver Message-ID: <20200309224926.GA2917@duo.ucw.cz> References: <20200309203558.305725-1-luca@z3ntu.xyz> <20200309203558.305725-4-luca@z3ntu.xyz> <20200309221805.GD2619@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20200309221805.GD2619@valkosipuli.retiisi.org.uk> 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 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > +#define FLASH_TIMEOUT_DEFAULT 250000 /* 250ms */ > > +#define FLASH_MAX_TIMEOUT_DEFAULT 300000 /* 300ms */ >=20 > Add U, and you can remove the cast elsewhere. I'll disagree here. Avoid U, avoid cast. Neither is needed. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCXmbH9gAKCRAw5/Bqldv6 8poqAJ9rNACtL9JpyMpvqirtegESYwcK8QCeN8Z00hKiQr3cmj19Hi3HDqYsp9A= =T86U -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--