mmc: sdhci: use IS_ENABLE(CONFIG_LEDS_CLASS) to enable LED struct members
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Apr 2016 04:19:40 +0000 (13:19 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:36 +0000 (10:33 +0200)
commit74479c5d5009ebe28de69dd67b769c05ad953a5c
tree64e68d8758fc6823bc4ca34e771148ea9f4274b1
parent4f78230fd79d6f9e659f205b4ab0799e1635554d
mmc: sdhci: use IS_ENABLE(CONFIG_LEDS_CLASS) to enable LED struct members

defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE)

is equivalent to:

IS_ENABLED(CONFIG_LEDS_CLASS)

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.h