[PATCH 1/3] i2c: set adapter.nr explicitly to -1

Alexander Shiyan eagle.alexander923 at gmail.com
Fri Oct 25 06:43:35 PDT 2024


Hello.

Last time I didn't do it completely :)
https://lore.barebox.org/barebox/20230714051510.2304-4-eagle.alexander923@gmail.com/

Thanks!

...

> dev->id will always be -1 for device tree instantiated devices. Instead
> of setting adapter.nr to dev->id, set it to -1 explicitly for all I2C
> bus drivers that are purely instantiated from device tree.



More information about the barebox mailing list