Thread (7 messages) 7 messages, 2 authors, 2018-12-16

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

flat view

From: Slawomir Stepien <hidden>
Date: 2018-12-12 17:18:26

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 <redacted>
---
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 ;)).

-- 
Slawomir Stepien
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help