lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220608010318.18040-1-yuanjilin@cdjrlc.com>
Date:   Wed,  8 Jun 2022 09:03:18 +0800
From:   Jilin Yuan <yuanjilin@...rlc.com>
To:     thierry.reding@...il.com, lee.jones@...aro.org,
        mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com
Cc:     u.kleine-koenig@...gutronix.de, linux-pwm@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] pwm: stmpe: Deleted extra {}

Remove unnecessary braces

Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
 drivers/pwm/pwm-stmpe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pwm/pwm-stmpe.c b/drivers/pwm/pwm-stmpe.c
index 2df526fe9c38..c45fe27859de 100644
--- a/drivers/pwm/pwm-stmpe.c
+++ b/drivers/pwm/pwm-stmpe.c
@@ -78,10 +78,9 @@ static void stmpe_24xx_pwm_disable(struct pwm_chip *chip,
 	value = ret & ~BIT(pwm->hwpwm);
 
 	ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value);
-	if (ret) {
+	if (ret)
 		dev_err(chip->dev, "error writing PWM#%u control\n",
 			pwm->hwpwm);
-	}
 }
 
 /* STMPE 24xx PWM instructions */
-- 
2.36.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ