]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: get rid of some ifdeffery
authorMichael Walle <michael@walle.cc>
Wed, 18 Jan 2023 12:12:23 +0000 (13:12 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 17:51:26 +0000 (12:51 -0500)
commit7a171143e7843948f0bbb8a49bf8abc1f4a07446
tree636b7e909caae7d4269d9c99549ec998590ad3bd
parent7ae7262ce41e8812716c8e5b12c8b5e9ef1e2671
pinctrl: get rid of some ifdeffery

Don't define an empty version for pinconfig_post_bind(). Just guard the
call and let the linker garbage collection do the rest. This way, we
also don't have to do any guesswork.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/pinctrl/pinctrl-uclass.c