> Am 20.02.2019 um 17:09 schrieb Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>: > > On Wed, Feb 20, 2019 at 03:00:52PM +0100, H. Nikolaus Schaller wrote: >> This simplifies the code a little. > >> -err_buffer_cleanup: >> - iio_triggered_buffer_cleanup(indio_dev); >> -err_trigger_unregister: >> - if (data->trig) >> - iio_trigger_unregister(data->trig); >> -err_trigger_free: >> - iio_trigger_free(data->trig); > >> -err_chip_disable: >> +err: > > Please, leave the original label name as it's more self-explanatory. Ok. > >> data->part_info->chip_disable(data); >> >> return ret; > > -- > With Best Regards, > Andy Shevchenko > >