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

From: Dmitry Osipenko
Date: Sun Jan 16 2022 - 12:54:18 EST


16.01.2022 19:02, Michał Mirosław пишет:
> To patches that, combined, reduce I2C driver's code by ~2kB and a bit
> from runtime overhead for non-Tegra20 or non-Tegra210 builds.
>
> 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/Kconfig | 16 ++++++++++++++++
> drivers/i2c/busses/i2c-tegra.c | 35 +++++++++++++++++++++-------------
> 2 files changed, 38 insertions(+), 13 deletions(-)
>

2KB is a too small difference to justify the ifdefs and Kconfig entries,
IMO.