Message ID | 1396009710-21324-5-git-send-email-oder_chiou@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3441e524293c5e8d640488e343f2eb2bcc944108 |
Headers | show |
On Fri, Mar 28, 2014 at 08:28:29PM +0800, Oder Chiou wrote:
> The patch removes the unnecessary parentheses.
Applied, thanks.
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;
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(-)