gpioset: use #ifdef instead of #if with GPIOSET_INTERACTIVE
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 31 Jan 2023 15:08:48 +0000 (16:08 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 31 Jan 2023 15:09:59 +0000 (16:09 +0100)
commit362b6b445bb69d4552a55729dae653a864c5de6f
tree7125eadc641ca14dde8fa233c7e43d4be3e47acb
parent3176c65798d5c37c8073e4c2bb3079fd4edadceb
gpioset: use #ifdef instead of #if with GPIOSET_INTERACTIVE

We're not setting GPIOSET_INTERACTIVE to any specific value that we'd
want to check so be consistent and use #ifdef everywhere to simply check
if it's defined or not.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpioset.c