commit | 901a891fa6235b68d4c007800ea91c1a091f6f99 | [log] [tgz] |
---|---|---|
author | Stefan Lengfeld <slengfeld@inovex.de> | Wed Nov 01 21:06:41 2017 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Nov 27 18:31:57 2017 +0100 |
tree | f45731c11261cd323fc0d33d4914571f1ff2bc00 | |
parent | 43df43e6ba139e6cd77ea31ca27efc67ea2df44b [diff] |
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>