mbox series

[v3,0/2] i2c: tegra: allow compiling out support for Tegra's special controllers

Message ID cover.1683322608.git.mirq-linux@rere.qmqm.pl
Headers show
Series i2c: tegra: allow compiling out support for Tegra's special controllers | expand

Message

Michał Mirosław May 5, 2023, 9:45 p.m. UTC
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(-)