[PATCH 5/5] iio: remove left-over parent assignments

Andy Shevchenko andy.shevchenko at gmail.com
Fri May 22 08:53:50 UTC 2020


On Fri, May 22, 2020 at 11:37 AM Alexandru Ardelean
<alexandru.ardelean at analog.com> wrote:
>
> These were found by doing some shell magic:
> ------------
> for file in $(git grep -w devm_iio_device_alloc | cut -d: -f1 | sort | uniq) ; do
>         if grep 'parent =' $file | grep -v trig | grep -vq devm_; then
>                 echo "$file -> $(grep "parent =" $file)"
>         fi
> done
> -----------

Side note: time to learn coccinelle or shell better :-)

-- 
With Best Regards,
Andy Shevchenko


More information about the devel mailing list