From: Oder Chiou <oder_chiou@realtek.com>
To: broonie@kernel.org, lgirdwood@gmail.com
Cc: Oder Chiou <oder_chiou@realtek.com>,
bardliao@realtek.com, alsa-devel@alsa-project.org,
flove@realtek.com
Subject: [PATCH 5/6] ASoC: rt5640: Remove the unnecessary parentheses
Date: Fri, 28 Mar 2014 20:28:29 +0800 [thread overview]
Message-ID: <1396009710-21324-5-git-send-email-oder_chiou@realtek.com> (raw)
In-Reply-To: <1396009710-21324-1-git-send-email-oder_chiou@realtek.com>
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(-)
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;
--
1.8.1.1.439.g50a6b54
next prev parent reply other threads:[~2014-03-28 12:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 12:28 [PATCH 1/6] ASoC: rt5640: Remove the pre-allocated size of reg_default Oder Chiou
2014-03-28 12:28 ` [PATCH 2/6] ASoC: rt5640: Rename the function of clock checking Oder Chiou
2014-03-28 12:53 ` Mark Brown
2014-03-28 12:28 ` [PATCH 3/6] ASoC: rt5640: Remove the unused or incorrect setting of clock source Oder Chiou
2014-03-28 12:53 ` Mark Brown
2014-03-28 12:28 ` [PATCH 4/6] ASoC: rt5640: Remove the unused field in private data Oder Chiou
2014-03-28 12:53 ` Mark Brown
2014-03-28 12:28 ` Oder Chiou [this message]
2014-03-28 12:53 ` [PATCH 5/6] ASoC: rt5640: Remove the unnecessary parentheses Mark Brown
2014-03-28 12:28 ` [PATCH 6/6] ASoC: rt5640: Change the setting method of idle_bias_off Oder Chiou
2014-03-28 12:54 ` Mark Brown
2014-03-31 2:24 ` [PATCH 6/6] ASoC: rt5640: Change the setting methodofidle_bias_off Oder Chiou
2014-03-28 12:52 ` [PATCH 1/6] ASoC: rt5640: Remove the pre-allocated size of reg_default Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1396009710-21324-5-git-send-email-oder_chiou@realtek.com \
--to=oder_chiou@realtek.com \
--cc=alsa-devel@alsa-project.org \
--cc=bardliao@realtek.com \
--cc=broonie@kernel.org \
--cc=flove@realtek.com \
--cc=lgirdwood@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.