On Wed, 3 Aug 2022 20:00:24 +0200 Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > On Wed, Aug 3, 2022 at 7:57 PM Andy Shevchenko > <andy.shevchenko@xxxxxxxxx> wrote: > > On Wed, Aug 3, 2022 at 2:04 PM Matt Ranostay <matt.ranostay@xxxxxxxxxxxx> wrote: > > > > > > Check if __iio_device_register and iio_device_unregister indio_dev > > > parameter isn't a NULL pointer. > > A couple more things: > - make sure you include all maintainers and reviewers (you may use my > "smart" script [1] for that) > - explain why you are doing this change > Agreed. I'm not sure of the reasoning for doing this. I'd also expect to see it as part of a series where we might pass NULL to these functions. Thanks, Jonathan > [1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh >