projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc49e46
)
ASoC: rt5640: Remove the unnecessary parentheses
author
Oder Chiou
<oder_chiou@realtek.com>
Fri, 28 Mar 2014 12:28:29 +0000
(20:28 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 14 Apr 2014 16:27:41 +0000
(17:27 +0100)
The patch removes the unnecessary parentheses.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5640.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5640.c
b/sound/soc/codecs/rt5640.c
index 4c866135e40fcce0b843bb53ad5fc58678a6c3f7..b6a02c16f100fc5df4d610c2b39a91fcddd64da2 100644
(file)
--- a/
sound/soc/codecs/rt5640.c
+++ b/
sound/soc/codecs/rt5640.c
@@
-2110,7
+2110,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;