Re: [PATCH 1/2] staging: iio: adc: ad7280a: split ad7280_channel_init() to more functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 Dec 2018 18:19:06 +0100
Slawomir Stepien <sst@xxxxxxxxx> wrote:

> On gru 12, 2018 18:02, Slawomir Stepien wrote:
> > The ad7280_channel_init function has been split into more specific
> > functions to increase the code readability.
> > 
> > The setting of channel's scan_type.shift to 0, has been removed, since
> > it is the default value.
> > 
> > Signed-off-by: Slawomir Stepien <sst@xxxxxxxxx>
> > ---
> > Since v1:
> > * Added ad7280_init_dev_channels function.
> > * New functions are now using struct iio_chan_spec rather than struct
> >   ad7280_state.
> > * Channel's number on device calculation has been moved to macros.
> > * scan_type.shift assigned has been removed.
> > ---  
> 
> Sorry about not marking this as v2 in the subject line :( I'll fix that on next
> version (if that happens ;)).
> 
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to see if they can break it.

Thanks,

Jonathan





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux