]> git.dujemihanovic.xyz Git - u-boot.git/commit
regulator: rk8xx: clarify operator precedence
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 5 Jun 2024 09:33:23 +0000 (11:33 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 14 Jun 2024 09:02:08 +0000 (17:02 +0800)
commit62d0c3085e4836b6f3edf1d41201b0568960df26
treecda36e11b4c10a6326a61f423183cea7863594a9
parentb7fffd1ef227e45fac356501c984dd0621accbda
regulator: rk8xx: clarify operator precedence

My linter complains that the order isn't clear enough so let's put
parentheses around the ternary condition to make it happy.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> # chromebook-bob
drivers/power/regulator/rk8xx.c