Re: [RFC PATCH v3 04/18] i2c: tegra: Remove NULL pointer check before clk_enable/disable/prepare/unprepare

From: Dmitry Osipenko
Date: Thu Jul 16 2020 - 16:25:24 EST


15.07.2020 07:20, Sowjanya Komatineni ÐÐÑÐÑ:
> clk_enable, clk_disable, clk_prepare, and clk_unprepare APIs have
> implementation for checking clk pointer not NULL and clock consumers
> can safely call these APIs without NULL pointer check.
>
> So, this patch cleans up Tegra i2c driver to remove explicit checks
> before these APIs.
>
> Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx>
> ---

Thanks!

Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx>