test_firmware: replace syfs fallback check with kconfig_has helper
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sat, 10 Mar 2018 14:14:44 +0000 (06:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 18:49:24 +0000 (19:49 +0100)
commit9cc853203c3bf4d3b0c466c5525750c071624b05
tree3eedd0987233f1f89f1d7ba14ffa2a7b0421f041
parentef557787f4f04b62d7a50101154ffe1614b88a7a
test_firmware: replace syfs fallback check with kconfig_has helper

Now that we have a kconfig checker just use that instead of relying
on testing a sysfs directory being present, since our requirements
are spelled out.

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/fw_fallback.sh