]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: renesas: Replace ifdeffery with IS_ENABLED()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 28 Feb 2023 06:25:52 +0000 (07:25 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 18 Mar 2023 11:02:38 +0000 (12:02 +0100)
commit87fcf26401d62c2c7fc1b6437b45db1aab8414ac
treedc4933fc2592e6ff0dca79404c82068c16ffab59
parent41b46395f12b7a3f355aa3ec3eab14efe949dae1
pinctrl: renesas: Replace ifdeffery with IS_ENABLED()

Switch ifdef in sh_gpio_get_value() to IS_ENABLED() macro.
The CONFIG_RCAR_GEN3 will never have SPL counterpart, so
the IS_ENABLED() macro is the right one here. No functional
change, except for improved build test coverage.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/gpio/sh_pfc.c