gpio: tps65219: don't use CONFIG_DEBUG_GPIO
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 21 Dec 2023 18:57:02 +0000 (19:57 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 27 Dec 2023 14:56:48 +0000 (15:56 +0100)
commit7dd1871e5049bbd40ee78ac94b1678ba5caf2486
tree4d0d1e72c29dfba1a072baf78eff9d3ba2402a4b
parent20bddcb40b2b6d6028fb4224fab4aadb7d7b2674
gpio: tps65219: don't use CONFIG_DEBUG_GPIO

CONFIG_DEBUG_GPIO should only be used to enable debug log messages and
for core GPIOLIB debugging. Don't use it to control the execution of
potentially buggy code. Just put it under an always-false #if.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65219.c