Re: [PATCH v2 10/14] spl: mmc: Adjust args of spl_mmc_find_device()

2024-08-06 Thread Quentin Schulz
Hi Simon, On 7/21/24 5:25 PM, Simon Glass wrote: At present spl_mmc_load() is the only caller of this function, passing it a boot_device, an index into the available MMC devices. Pass the device number instead, since it is known by the caller and simplifies the code. Signed-off-by: Simon Glass

[PATCH v2 10/14] spl: mmc: Adjust args of spl_mmc_find_device()

2024-07-21 Thread Simon Glass
At present spl_mmc_load() is the only caller of this function, passing it a boot_device, an index into the available MMC devices. Pass the device number instead, since it is known by the caller and simplifies the code. Signed-off-by: Simon Glass Reviewed-by: Sean Anderson --- Changes in v2: - U