]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: tangier: pinmux: Move is_protected assignment closer to its user
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Oct 2021 14:23:37 +0000 (17:23 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 02:10:11 +0000 (10:10 +0800)
commit74bf2048e6e18ba310c62827d90f5ef76119bff6
treedff166e9edd0cabb57b4c798f0f1a1c01801c7b6
parent144cb060831189ec0fb985bf66ec7a3156e3d7dd
x86: tangier: pinmux: Move is_protected assignment closer to its user

Move is_protected assignment closer to its user.
This increases readability and makes maintenance easier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/tangier/pinmux.c