[PATCH v2 0/2] i2c: tegra: allow compiling out support for Tegra's special constrollers

From: Michał Mirosław
Date: Tue Jan 18 2022 - 15:00:11 EST


To patches that, combined, reduce I2C driver's code by ~2kB and a bit
from runtime overhead for non-Tegra20 or non-Tegra210 builds.

v2: remove KConfig symbols as per Dmitry Osipenko's suggestion.
This assumes that for relevant SoCs the special controller implementations
will be used anyway.

Michał Mirosław (2):
i2c: tegra: allow DVC support to be compiled out
i2c: tegra: allow VI support to be compiled out

drivers/i2c/busses/i2c-tegra.c | 35 +++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)

--
2.30.2