On Sun, Apr 7, 2019 at 4:15 AM Jonathan Cameron <[email protected]> wrote: > > On Wed, 3 Apr 2019 00:03:24 -0700 > Andrey Smirnov <[email protected]> wrote: > > > Initialization sequence performed in imx7d_adc_resume() is exactley > > the same as what's being done in imx7d_adc_probe(). Make use of the > > former in the latter to avoid code duplication. > > > > Signed-off-by: Andrey Smirnov <[email protected]> > > Cc: Jonathan Cameron <[email protected]> > > Cc: Hartmut Knaack <[email protected]> > > Cc: Lars-Peter Clausen <[email protected]> > > Cc: Peter Meerwald-Stadler <[email protected]> > > Cc: Chris Healy <[email protected]> > > Cc: [email protected] > > Cc: [email protected] > I'm not to going to apply this now, due to the ordering issue with the earlier > and later patches. However, it is fine in of itself. > > I do wonder if we want to rename resume to something else to reflect > it's new usage? imx7d_adc_enable perhaps? > Similar question for suspend in the next patch.
Sure, will rename in v2. Thanks, Andrey Smirnov

