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

[PATCH v2 0/2] staging: iio: adc: ad7280a: channel and attr init refactor

flat view
STALE2867d

From: Slawomir Stepien <hidden>
Date: 2018-12-12 17:01:50

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current
This small series enhances the readability of the code by refactoring the
ad7280_channel_init and ad7280_attr_init functions.

The readability is enhanced by splitting the functions into more functions that
do more specific operations.

Since v1:
* The patch "staging: iio: adc: ad7280a: add braces to complex for loops" has
   been removed. It's not needed anymore.

Slawomir Stepien (2):
  staging: iio: adc: ad7280a: split ad7280_channel_init() to more
    functions
  staging: iio: adc: ad7280a: split ad7280_attr_init() to more functions

 drivers/staging/iio/adc/ad7280a.c | 243 +++++++++++++++++++-----------
 1 file changed, 158 insertions(+), 85 deletions(-)

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