tests: fix a dmesg error message from gpio-mockup
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 8 May 2017 14:36:53 +0000 (16:36 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 8 May 2017 14:36:53 +0000 (16:36 +0200)
commite41c2321af4cc594e747e1cc4bf775926ba88838
tree24fc151924867ac55c5488a9fb1d84237f99122c
parent22128de1412caf629d241d87e1ceca0c577503b2
tests: fix a dmesg error message from gpio-mockup

When checking if we can load gpio-mockup, we don't pass the
gpio_mockup_ranges argument to the module. This makes probe() fail
and causes an error message to be emitted.

Pass a correct argument to gpio-mockup so that a dummy GPIO chip gets
created and no errors are displayed.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/gpiod-unit.c