]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mockup: Allow probing from device tree
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Thu, 29 Oct 2020 08:17:20 +0000 (09:17 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 29 Oct 2020 09:39:09 +0000 (10:39 +0100)
commit6194d09bfbd707d64b25ee15515db88b1f517014
tree1bc632851884017cdad0c05a8156247dc3dc2314
parent36339592e3afe6d64a043dd6dcee96820f053900
gpio: mockup: Allow probing from device tree

Allow the mockup driver to be probed via the device tree without any
module parameters, allowing it to be used to configure and test higher
level drivers like the leds-gpio driver and corresponding userspace
before actual hardware is available.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-mockup.c