mbox series

[0/2] staging: iio: cdc: ad7746: initial effort to move out of staging

Message ID cover.1620766020.git.lucas.p.stankus@gmail.com (mailing list archive)
Headers show
Series staging: iio: cdc: ad7746: initial effort to move out of staging | expand

Message

Lucas Stankus May 11, 2021, 8:53 p.m. UTC
Cleans up the driver by removing vague comments, fixing code alignment and
refactoring the probe function return. This patch set also contains a small
bug fix when setting the amount of iio channels in AD7745 devices.

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.

Lucas Stankus (2):
  staging: iio: cdc: clean up driver comments and probe return
  staging: iio: cdc: avoid overwrite of num_channels

 drivers/staging/iio/cdc/ad7746.c | 32 ++++++++++----------------------
 1 file changed, 10 insertions(+), 22 deletions(-)