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

Lucas Stankus
2021-05-11T20:53:46Z

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(-)

--
2.31.1