Re: [PATCH 3/3] leds: add sgm3140 driver

From: Pavel Machek
Date: Mon Mar 09 2020 - 18:49:50 EST


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

Attachment: signature.asc
Description: PGP signature