Re: [PATCH 2/2] iio: potentiometer mcp4131: use spi_get_device_id() only when needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux