projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57db70
)
i2c: octeon: Remove superfluous check in octeon_i2c_test_iflg
author
Jan Glauber
<jglauber@cavium.com>
Mon, 11 Apr 2016 15:28:36 +0000
(17:28 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Thu, 14 Apr 2016 08:57:55 +0000
(10:57 +0200)
Remove superfluous check and stray newline.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-octeon.c
b/drivers/i2c/busses/i2c-octeon.c
index b25c49151ea4bdd42588fa945cdf143271bc39dd..4275007c2907b690b3ed0ece2eb301e77418f4eb 100644
(file)
--- a/
drivers/i2c/busses/i2c-octeon.c
+++ b/
drivers/i2c/busses/i2c-octeon.c
@@
-198,10
+198,9
@@
static irqreturn_t octeon_i2c_isr(int irq, void *dev_id)
return IRQ_HANDLED;
}
-
static int octeon_i2c_test_iflg(struct octeon_i2c *i2c)
{
- return (octeon_i2c_ctl_read(i2c) & TWSI_CTL_IFLG)
!= 0
;
+ return (octeon_i2c_ctl_read(i2c) & TWSI_CTL_IFLG);
}
/**