diff options
author | Sowjanya Komatineni <skomatineni@nvidia.com> | 2020-07-27 22:57:20 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-07-28 18:31:47 +0200 |
commit | 7232f53e73839bec4a2747d0c01d29994f9f39b9 (patch) | |
tree | 4bc58a339fbba8f37730d3d58932f3a3fbbd6acf /drivers/i2c/busses/i2c-amd756.c | |
parent | i2c: tegra: Don't mark VI I2C as IRQ safe runtime PM (diff) | |
download | linux-7232f53e73839bec4a2747d0c01d29994f9f39b9.tar.xz linux-7232f53e73839bec4a2747d0c01d29994f9f39b9.zip |
i2c: tegra: Remove NULL pointer check before clk_enable/disable/prepare/unprepare
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.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-amd756.c')
0 files changed, 0 insertions, 0 deletions