[PATCH 3/3] regulator: rk8xx: clarify operator precedence

Simon Glass sjg at chromium.org
Thu Jun 6 17:04:16 CEST 2024


On Wed, 5 Jun 2024 at 03:33, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> 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 at cherry.de>
> ---
>  drivers/power/regulator/rk8xx.c | 26 +++++++++++++-------------
>  1 file changed, 13 insertions(+), 13 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>  # chromebook-bob


More information about the U-Boot mailing list