lkml.org 
[lkml]   [2022]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 3/3] iio: magnetometer: add ti tmag5273 driver
On Wed, Nov 30, 2022 at 10:04:41AM +0100, Gerald Loacker wrote:
> Am 29.11.2022 um 17:37 schrieb Andy Shevchenko:
> > On Tue, Nov 29, 2022 at 07:45:40AM +0100, Gerald Loacker wrote:

...

> >> + snprintf(data->name, sizeof(data->name), "tmag5273x%1u", data->version);
> >
> > Thinking more about this format, perhaps
> >
> > snprintf(data->name, sizeof(data->name), "tmag5273x-v%1u", data->version);
> >
> > ?
>
> I'd prefer to keep this as it's related to the orderable part number,
> e.g. TMAG5273A1 / TMAG5273A2.

I see, can you add a comment above to clarify the chosen format?

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-11-30 11:55    [W:0.035 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site