diff options
author | Masahiro Yamada <[email protected]> | 2016-04-14 13:19:39 +0900 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-05-02 10:33:35 +0200 |
commit | 4f78230fd79d6f9e659f205b4ab0799e1635554d (patch) | |
tree | 26f0742b8e53f64ab3ceba5e5c445c4ebc67dcfe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4228b21390f55616e50d2cfa3a374489b930a130 (diff) |
mmc: sdhci: use IS_REACHABLE(CONFIG_LEDS_CLASS) to enable LED code
defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \
defined(CONFIG_MMC_SDHCI_MODULE))
is equivalent to:
defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \
defined(MODULE))
and it can also be written shortly as:
IS_REACHABLE(CONFIG_LEDS_CLASS)
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions