Two patches that, combined, reduce I2C driver's code by ~2kB and a bit from runtime overhead for non-Tegra20 or non-Tegra210 builds. v3: added parentheses for IS_DVC and IS_VI macros as requested by Wolfram Sang (from checkpatch --strict report). 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.39.2