diff mbox

[5/6] ASoC: rt5640: Remove the unnecessary parentheses

Message ID 1396009710-21324-5-git-send-email-oder_chiou@realtek.com (mailing list archive)
State Accepted
Commit 3441e524293c5e8d640488e343f2eb2bcc944108
Headers show

Commit Message

Oder Chiou March 28, 2014, 12:28 p.m. UTC
The patch removes the unnecessary parentheses.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
---
 sound/soc/codecs/rt5640.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown March 28, 2014, 12:53 p.m. UTC | #1
On Fri, Mar 28, 2014 at 08:28:29PM +0800, Oder Chiou wrote:
> The patch removes the unnecessary parentheses.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index 096edfe..b5014a2 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -2102,7 +2102,7 @@  static int rt5640_i2c_probe(struct i2c_client *i2c,
 	}
 
 	regmap_read(rt5640->regmap, RT5640_VENDOR_ID2, &val);
-	if ((val != RT5640_DEVICE_ID)) {
+	if (val != RT5640_DEVICE_ID) {
 		dev_err(&i2c->dev,
 			"Device with ID register %x is not rt5640/39\n", val);
 		return -ENODEV;