]> git.dujemihanovic.xyz Git - u-boot.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)
commit517f8e8aee5402ac67f4e09b0ff4d68cce8e601a
treedc4933fc2592e6ff0dca79404c82068c16ffab59
parentd797a8ccb2d0ea2e90b01b72e61cee3f248a343a
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