Skip to content
Commit 297dc37a authored by Kent Gibson's avatar Kent Gibson Committed by Bartosz Golaszewski
Browse files

selftest: gpio: remove obsolete gpio-mockup test



With the removal of the ARCH_NR_GPIOS, the number of available GPIOs
is effectively unlimited, causing the gpio-mockup module load failure
test that overflowed the number of GPIOs to unexpectedly succeed, and
so fail.

The test is no longer relevant so remove it.
Promote the "no lines defined" test so there is still one load
failure test in the basic set.

Fixes: 7b61212f ("gpiolib: Get rid of ARCH_NR_GPIOS")
Reported-by: default avatarPengfei Xu <pengfei.xu@intel.com>
Reported-by: default avatarYi Lai <yi1.lai@intel.com>
Closes: https://lore.kernel.org/linux-gpio/ZC6OHBjdwBdT4sSb@xpf.sh.intel.com/


Signed-off-by: default avatarKent Gibson <warthog618@gmail.com>
Acked-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 8ae438f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment