i2c: tegra: allow DVC support to be compiled out
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 6 May 2023 21:19:01 +0000 (23:19 +0200)
committerWolfram Sang <wsa@kernel.org>
Mon, 5 Jun 2023 08:34:51 +0000 (10:34 +0200)
commita55efa7edf37dc428da7058b25c58a54dc9db4e4
tree6e77b80d7d5a2f59e3317f022cf35bcd32c9b930
parentfcc8a89a1c839bbe274de8e518ce7886553ddcc6
i2c: tegra: allow DVC support to be compiled out

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
-  11381     292       8   11681    2da1 i2c-tegra.o
+  10193     292       8   10493    28fd i2c-tegra.o

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c