[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200309224926.GA2917@duo.ucw.cz>
Date: Mon, 9 Mar 2020 23:49:27 +0100
From: Pavel Machek <pavel@....cz>
To: Sakari Ailus <sakari.ailus@....fi>
Cc: Luca Weiss <luca@...tu.xyz>, linux-leds@...r.kernel.org,
Dan Murphy <dmurphy@...com>, Heiko Stuebner <heiko@...ech.de>,
Icenowy Zheng <icenowy@...c.io>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mark Rutland <mark.rutland@....com>,
Maxime Ripard <mripard@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht
Subject: Re: [PATCH 3/3] leds: add sgm3140 driver
Hi!
> > +#define FLASH_TIMEOUT_DEFAULT 250000 /* 250ms */
> > +#define FLASH_MAX_TIMEOUT_DEFAULT 300000 /* 300ms */
>
> Add U, and you can remove the cast elsewhere.
I'll disagree here. Avoid U, avoid cast. Neither is needed.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists