Re: [PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-14 Thread Jonathan Cameron
On Thu, 11 Jun 2020 06:52:00 + "Ardelean, Alexandru" wrote: > On Sat, 2020-06-06 at 17:05 +0100, Jonathan Cameron wrote: > > [External] > > > > On Wed, 3 Jun 2020 14:40:23 +0300 > > Alexandru Ardelean wrote: > > > > > These were found by doing some shell magic: > > > > > >

Re: [PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-11 Thread Ardelean, Alexandru
On Sat, 2020-06-06 at 17:05 +0100, Jonathan Cameron wrote: > [External] > > On Wed, 3 Jun 2020 14:40:23 +0300 > Alexandru Ardelean 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

Re: [PATCH v2 6/6] iio: remove left-over parent assignments

2020-06-06 Thread Jonathan Cameron
On Wed, 3 Jun 2020 14:40:23 +0300 Alexandru Ardelean 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 >

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

2020-06-03 Thread Alexandru Ardelean
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 ---