linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] staging: iio: cdc: ad7746: initial effort to move out of staging
@ 2021-05-23 17:11 Lucas Stankus
  2021-05-23 17:11 ` [PATCH v2 1/3] staging: iio: cdc: ad7746: remove ordinary comments Lucas Stankus
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Lucas Stankus @ 2021-05-23 17:11 UTC (permalink / raw)
  To: lars, Michael.Hennerich, jic23, gregkh
  Cc: linux-iio, linux-staging, linux-kernel

Tidy up driver code by removing vague comments, simplifying probe
return, and extracting capdac register write to a separate function.

These small patches are a starting point for improving the ad7746 driver,
hopefully to a point where it's possible to get it out of staging. I'm
looking up to feedback on what could be improved to accomplish that.

changelog v1 -> v2:
- Dropped num_channels fixup patch (applied from previous series).
- Split general code style patch into several atomic ones.
- New patch to catch capdac write boilerplate into a single function.

Lucas Stankus (3):
  staging: iio: cdc: ad7746: remove ordinary comments
  staging: iio: cdc: ad7746: clean up probe return
  staging: iio: cdc: ad7746: extract capac setup to own function

 drivers/staging/iio/cdc/ad7746.c | 58 +++++++++++++-------------------
 1 file changed, 23 insertions(+), 35 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-31  1:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23 17:11 [PATCH v2 0/3] staging: iio: cdc: ad7746: initial effort to move out of staging Lucas Stankus
2021-05-23 17:11 ` [PATCH v2 1/3] staging: iio: cdc: ad7746: remove ordinary comments Lucas Stankus
2021-05-23 17:12 ` [PATCH v2 2/3] staging: iio: cdc: ad7746: clean up probe return Lucas Stankus
2021-05-24  7:53   ` Alexandru Ardelean
2021-05-23 17:12 ` [PATCH v2 3/3] staging: iio: cdc: ad7746: extract capac setup to own function Lucas Stankus
2021-05-24  8:09   ` Alexandru Ardelean
2021-05-26 17:07 ` [PATCH v2 0/3] staging: iio: cdc: ad7746: initial effort to move out of staging Jonathan Cameron
2021-05-31  1:48   ` Lucas Stankus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).