diff options
author | Choi jonghwan <jhbird.choi@samsung.com> | 2010-08-25 12:12:20 +0900 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-17 17:42:29 -0800 |
commit | 280b82aa923b1af168fed3977a328f9a9dfeebaa (patch) | |
tree | aa188916030f226a009ae961ad60573387a56a26 /drivers | |
parent | 6dc9369b2df39b41f077593b308d2d9ec9e1427d (diff) | |
download | kernel_samsung_crespo-280b82aa923b1af168fed3977a328f9a9dfeebaa.zip kernel_samsung_crespo-280b82aa923b1af168fed3977a328f9a9dfeebaa.tar.gz kernel_samsung_crespo-280b82aa923b1af168fed3977a328f9a9dfeebaa.tar.bz2 |
S5PC110: I2C: Code clean-up.
This patch includes code clean-up.
Change-Id: I37cb1fc703f73dc94dda9b82169df2f846e75614
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index b1959ca..cd0f775 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -470,7 +470,7 @@ static int s3c24xx_i2c_set_master(struct s3c24xx_i2c *i2c) } writel(iicstat & ~S3C2410_IICSTAT_TXRXEN, i2c->regs + S3C2410_IICSTAT); - if(!(readl(i2c->regs + S3C2410_IICSTAT) & S3C2410_IICSTAT_BUSBUSY)) + if (!(readl(i2c->regs + S3C2410_IICSTAT) & S3C2410_IICSTAT_BUSBUSY)) return 0; return -ETIMEDOUT; |