aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core-base.c
diff options
context:
space:
mode:
authorStefan Lengfeld <slengfeld@inovex.de>2017-11-01 21:06:41 +0100
committerWolfram Sang <wsa@the-dreams.de>2017-11-27 18:31:57 +0100
commit901a891fa6235b68d4c007800ea91c1a091f6f99 (patch)
treef45731c11261cd323fc0d33d4914571f1ff2bc00 /drivers/i2c/i2c-core-base.c
parenti2c: designware: Don't set SCL timings and speed mode when in slave mode (diff)
downloadlinux-dev-901a891fa6235b68d4c007800ea91c1a091f6f99.tar.xz
linux-dev-901a891fa6235b68d4c007800ea91c1a091f6f99.zip
i2c: use macro IS_ENABLED in header i2c.h
Using the macro IS_ENABLED to check the option CONFIG_I2C=(y|m) makes the code nicer. No functional change. Signed-off-by: Stefan Lengfeld <contact@stefanchrist.eu> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions