lkml.org 
[lkml]   [2022]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 4/6] leds: is31fl319x: Use non-wildcard names for vars, structs and defines
On Fri, Jul 1, 2022 at 10:47 PM Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Fri, Jul 1, 2022 at 3:45 PM Vincent Knecht <vincent.knecht@mailoo.org> wrote:

...

> > +#define IS31FL3196_CURRENT_MIN ((u32)5000)
> > +#define IS31FL3196_CURRENT_MAX ((u32)40000)
> > +#define IS31FL3196_CURRENT_STEP ((u32)5000)
> > +#define IS31FL3196_CURRENT_DEFAULT ((u32)20000)

Also why no units as below, for example, has?

> > +#define IS31FL3196_AUDIO_GAIN_DB_MAX ((u32)21)
> > +#define IS31FL3196_AUDIO_GAIN_DB_STEP ((u32)3)

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2022-07-01 22:51    [W:0.079 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site