Skip to content
Commit 901a891f authored by Stefan Lengfeld's avatar Stefan Lengfeld Committed by Wolfram Sang
Browse files

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: default avatarStefan Lengfeld <contact@stefanchrist.eu>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 43df43e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment