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

2020-07-16 Thread Dmitry Osipenko
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 e

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

2020-07-14 Thread 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: Sowja