On lis 16, 2018 11:53, Jonathan Cameron wrote: > On Fri, 16 Nov 2018 10:47:22 +0100 > Slawomir Stepien <sst@xxxxxxxxx> wrote: > > > There is no need to find the device id up front, since the > > of_device_get_match_data() might return the correct data. > > > Ah. That explains it. This should just have been merged with the previous > patch :) > > Anyhow, I'll apply them both but merge them whilst doing so. OK, that's fine for me. > So applied as one patch to the togreg branch of iio.git and pushed out as > testing for the autobuilders to play with it. > > As things currently stand it's not worth going through and doing this for > every driver as I don't think the other path is being removed any > time soon. It's a worthwhile change if people happen to be doing other > work on a particular driver though! OK. Thank you for quick review. -- Slawomir Stepien