Re: [PATCH] i2c: core: Improve i2c_new_scanned_device

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

 



On 09.01.2025 11:27, Wolfram Sang wrote:
> On Tue, Jan 07, 2025 at 09:29:07PM +0100, Heiner Kallweit wrote:
>> Simplify the logic in this function. And as we're no longer limited to
>> C89, move the iterator variable declaration to the for loop.
>>
>> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> 
> Did you have HW to test this patch?
> 
No functional change is intended. I have hw using i801, which calls
i2c_register_spd() -> i2c_new_scanned_device(). With this patch
tools like decode-dimms still work.





[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