Re: ath10k: replace config_enabled() with IS_REACHABLE()
From: Kalle Valo <hidden>
Date: 2016-09-02 15:57:45
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2016-09-02 15:57:45
Also in:
lkml, netdev
Masahiro Yamada [off-list ref] wrote:
Commit 97f2645f358b ("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 <redacted>Thanks, 1 patch applied to ath-next branch of ath.git: 749bc03ae2cd ath10k: replace config_enabled() with IS_REACHABLE() -- Sent by pwcli https://patchwork.kernel.org/patch/9295945/