summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2014-03-28 20:28:29 +0800
committerMark Brown <broonie@linaro.org>2014-04-14 17:27:41 +0100
commit3441e524293c5e8d640488e343f2eb2bcc944108 (patch)
tree65ccd895cd8b68235842fa979d270f1e56d6dd0a /sound/soc/codecs/rt5640.c
parentbc49e462cd6ded128cc6dbb6775de4a4c3d6bbc8 (diff)
downloadtalos-op-linux-3441e524293c5e8d640488e343f2eb2bcc944108.tar.gz
talos-op-linux-3441e524293c5e8d640488e343f2eb2bcc944108.zip
ASoC: rt5640: Remove the unnecessary parentheses
The patch removes the unnecessary parentheses. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/rt5640.c')
-rw-r--r--sound/soc/codecs/rt5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index 4c866135e40f..b6a02c16f100 100644
--- 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;
OpenPOWER on IntegriCloud