Re: [PATCH v3] i2c: tegra: use i2c_timings for bus clock freq

Dmitry Osipenko
2021-12-10T17:24:06Z

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@nvidia.com>
> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

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@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>