]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: replace config_enabled() with IS_REACHABLE()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 Aug 2016 16:27:26 +0000 (01:27 +0900)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2016 15:57:06 +0000 (18:57 +0300)
commit96c54c124b2eda10cc6ebd5b4bc676fa2a994197
treed7bd238669a21d251423999043b340952ec94a88
parent834342be8382ed9ec806fd117ef1d1d1a94d2fa1
ath10k: replace config_enabled() with IS_REACHABLE()

Commit 3057dcac9c9e ("tree-wide: replace config_enabled() with
IS_ENABLED()") mostly did away with config_enabled().

This is one of the postponed TODO items as config_enabled() is used
for a tristate option here.  Theoretically, config_enabled() is
equivalent to IS_BUILTIN(), but I guess IS_REACHABLE() is the best
fit for this case because both CONFIG_HWMON and CONFIG_ATH10K are
tristate.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.c