On 11/10/23 20:11, Andy Shevchenko wrote:
> Instead of saving index and do an additional level of referencing,
> save just a pointer to the semaphore callbacks directly. It makes
> code cleaner.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/i2c/busses/i2c-designware-core.h | 4 +++-
> drivers/i2c/busses/i2c-designware-platdrv.c | 12 ++++--------
> 2 files changed, 7 insertions(+), 9 deletions(-)
>
Acked-by: Jarkko Nikula <[email protected]>