2023-11-17 13:52:11

by Jarkko Nikula

[permalink] [raw]
Subject: Re: [PATCH v3 07/25] i2c: designware: Save pointer to semaphore callbacks instead of index

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]>