Re: [PATCH v7 25/34] i2c: tegra: Factor out register polling into separate function
From: Thierry Reding
Date: Mon Sep 21 2020 - 06:25:20 EST
On Wed, 09 Sep 2020 01:39:57 +0300, Dmitry Osipenko wrote:
> Factor out register polling into a separate function in order to remove
> boilerplate code and make code cleaner.
>
> Reviewed-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-tegra.c | 57 +++++++++++++++-------------------
> 1 file changed, 25 insertions(+), 32 deletions(-)
Tested-by: Thierry Reding <treding@xxxxxxxxxx>