Re: Finding particular I2C adapter?

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

 



On 10/07/2011 02:43 PM, Przemyslaw Wegrzyn wrote:
> Ideally, I'd like to have a sort of wrapper module that will find the
> proper i2c_adapter and instantiate my i2c_client explicitly. Yet I know
> that iterating i2c adapters is discouraged at least (actually, is there
> any API now allowing for this? calling i2c_get_adapter with successive
> numbers is clearly a hack).
Answering my own question - there's i2c_for_each_dev() that I've
overlooked before. Still a hack, anyway.

--
Przemek
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux