diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-01-20 10:46:55 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-17 19:46:43 -0500 |
commit | aeedeae40733131467de72c68e639cf9d795e059 (patch) | |
tree | 48f696e4698cd89ba894a7cb804cc9448cbbdc15 /drivers/i2c/exynos_hs_i2c.c | |
parent | 9e304239785dce3100303bf3dc211cf544247da0 (diff) |
spl: fit: Replace #ifdef blocks with more readable constructs
Use the IS_ENABLED() macro to control code flow, instead of the
caveman approach of sprinkling #ifdefs. Code size is not affected, as
the linker garbage-collects unused functions. However, readability is
improved significantly.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c/exynos_hs_i2c.c')
0 files changed, 0 insertions, 0 deletions