gpio: sim: implement the dbg_show() callback
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 4 Dec 2023 08:57:19 +0000 (09:57 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 8 Dec 2023 08:37:30 +0000 (09:37 +0100)
commitd22f93c6a0df15b9d1f500ab57d97ecc99b3657a
tree579fe67966fbf1e092bee465884dbd199304fa52
parent11a94a335a582ae2b464e233a3171475716f113c
gpio: sim: implement the dbg_show() callback

Provide a custom implementation of the dbg_show() callback that prints
all requested lines together with their label, direction, value and
bias. This improves the code coverage of GPIOLIB.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-sim.c