aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorHuisung Kang <hs1218.kang@samsung.com>2011-06-23 08:37:33 -0400
committerBen Dooks <ben-linux@fluff.org>2011-06-27 18:05:56 -0400
commit19820510c504d5ba572959c67a72d913afc187a6 (patch)
tree8927f9fbdc2a6c42440d20225c7bf554a7efd8ac /drivers/i2c
parentaf4087e0e682df12bdffec5cfafc2fec9208716e (diff)
i2c-s3c2410: Fix typo 'i2s' -> 'i2c'
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index 6c00c107ebf3..9ad18509c0c2 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -248,12 +248,12 @@ static inline int is_msgend(struct s3c24xx_i2c *i2c)
248 return i2c->msg_ptr >= i2c->msg->len; 248 return i2c->msg_ptr >= i2c->msg->len;
249} 249}
250 250
251/* i2s_s3c_irq_nextbyte 251/* i2c_s3c_irq_nextbyte
252 * 252 *
253 * process an interrupt and work out what to do 253 * process an interrupt and work out what to do
254 */ 254 */
255 255
256static int i2s_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) 256static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
257{ 257{
258 unsigned long tmp; 258 unsigned long tmp;
259 unsigned char byte; 259 unsigned char byte;
@@ -444,7 +444,7 @@ static irqreturn_t s3c24xx_i2c_irq(int irqno, void *dev_id)
444 /* pretty much this leaves us with the fact that we've 444 /* pretty much this leaves us with the fact that we've
445 * transmitted or received whatever byte we last sent */ 445 * transmitted or received whatever byte we last sent */
446 446
447 i2s_s3c_irq_nextbyte(i2c, status); 447 i2c_s3c_irq_nextbyte(i2c, status);
448 448
449 out: 449 out:
450 return IRQ_HANDLED; 450 return IRQ_HANDLED;