18.01.2022 23:00, Michał Mirosław пишет: > Save a bit of code for newer Tegra platforms by compiling out > DVC's I2C mode support that's used only for Tegra2. > > $ size i2c-tegra.o > text data bss dec hex filename > - 10385 240 8 10633 2989 i2c-tegra.o > + 9617 240 8 9865 2689 i2c-tegra.o > > --- > v2: remove KConfig symbol as per Dmitry Osipenko's suggestion. > (Assuming that for Tegra20 the DVC part will be used anyway.) > > Signed-off-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx> > --- > drivers/i2c/busses/i2c-tegra.c | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx>