diff options
author | Stefan Lengfeld <slengfeld@inovex.de> | 2017-11-01 21:06:41 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-11-27 18:31:57 +0100 |
commit | 901a891fa6235b68d4c007800ea91c1a091f6f99 (patch) | |
tree | f45731c11261cd323fc0d33d4914571f1ff2bc00 /drivers/i2c/i2c-core-base.c | |
parent | i2c: designware: Don't set SCL timings and speed mode when in slave mode (diff) | |
download | linux-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