Hi Alex, On 19-09-18 07:00, Ardelean, Alexandru wrote: > On Tue, 2019-09-17 at 18:09 +0200, Marco Felsch wrote: > > [External] > > > > Hi, > > > > the main purpose of this serie is to add the pm_ops support. This is > > important to free the regulators we are using within the driver. > > > > Hey, > > Thanks for the patches. > There are some minor issues with patch 3 with regard to error paths. > > Overall they look good. > I do have a general comment that maybe ad799x_resume() & ad799x_suspend() > could be re-used in ad799x_probe() & ad799x_remove(). Thanks for the quick response and comments you made. Please check my comments I made in line. Regards, Marco > > Thanks > Alex > > > > Regards, > > Marco > > > > Marco Felsch (3): > > iio: adc: ad799x: fix probe error handling > > iio: adc: ad799x: factor out config register update > > iio: adc: ad799x: add pm_ops to disable the device completely > > > > drivers/iio/adc/ad799x.c | 70 ++++++++++++++++++++++++++++++++++++---- > > 1 file changed, 63 insertions(+), 7 deletions(-) > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |