lkml.org 
[lkml]   [2024]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 6/6] iio: adc: ad7173: Add support for AD411x devices
From
On 01/04/2024 22:45, David Lechner wrote:
>> unsigned int clock;
>> unsigned int id;
>> char *name;
>> + bool has_current_inputs;
> Maybe more future-proof to have num_current_inputs instead of bool?

At first I agreed with this, but the way that the current inputs are
mapped to reg values does not really offer a way to extend them
without changing completely the numbering scheme. If that happens,
changing this field will be the least bit to need changing.

\
 
 \ /
  Last update: 2024-05-27 18:26    [W:0.136 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site