Re: [PATCH v3] i2c: tegra: use i2c_timings for bus clock freq
From: Dmitry Osipenko
Date: Fri Dec 10 2021 - 12:24:06 EST
10.12.2021 15:15, Akhil R пишет:
> Use i2c_timings struct and corresponding methods to get bus clock frequency
>
> Signed-off-by: Akhil R <akhilrajeev@xxxxxxxxxx>
> Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Note that your s-b should be the last line of the commit message. No
need to resend for that.
> ---
> drivers/i2c/busses/i2c-tegra.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)
>
> v2->v3: Removed unused variable 'err'.
> v1->v2: Added temp var for i2c_timings struct in function.
Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx>
Tested-by: Dmitry Osipenko <digetx@xxxxxxxxx>