diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2008-04-22 16:16:46 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-04-22 16:16:46 -0400 |
commit | 3d4382913f9a86f0d9ff47740feb427415fe7234 (patch) | |
tree | 706f28de92288f44e6681e165a1b57c31a7272db /drivers/i2c/busses | |
parent | 3845de25c5f83cd52729570f7b501679d37ca8de (diff) |
i2c-algo-pca: Remove trailing whitespaces and unnecessary UTF
Remove trailing whitespaces to make further patches more readable. Also remove
an unnecessary UTF-char for simplicity ("us" for microseconds is fine enough).
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-pca-isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-pca-isa.c b/drivers/i2c/busses/i2c-pca-isa.c index 496ee875eb4f..93ed3251893d 100644 --- a/drivers/i2c/busses/i2c-pca-isa.c +++ b/drivers/i2c/busses/i2c-pca-isa.c | |||
@@ -78,7 +78,7 @@ pca_isa_readbyte(struct i2c_algo_pca_data *adap, int reg) | |||
78 | int res = inb(base+reg); | 78 | int res = inb(base+reg); |
79 | #ifdef DEBUG_IO | 79 | #ifdef DEBUG_IO |
80 | { | 80 | { |
81 | static char *names[] = { "STA", "DAT", "ADR", "CON" }; | 81 | static char *names[] = { "STA", "DAT", "ADR", "CON" }; |
82 | printk("*** read %s => %#04x\n", names[reg], res); | 82 | printk("*** read %s => %#04x\n", names[reg], res); |
83 | } | 83 | } |
84 | #endif | 84 | #endif |
@@ -93,7 +93,7 @@ static int pca_isa_waitforinterrupt(struct i2c_algo_pca_data *adap) | |||
93 | ret = wait_event_interruptible(pca_wait, | 93 | ret = wait_event_interruptible(pca_wait, |
94 | pca_isa_readbyte(adap, I2C_PCA_CON) & I2C_PCA_CON_SI); | 94 | pca_isa_readbyte(adap, I2C_PCA_CON) & I2C_PCA_CON_SI); |
95 | } else { | 95 | } else { |
96 | while ((pca_isa_readbyte(adap, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) | 96 | while ((pca_isa_readbyte(adap, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) |
97 | udelay(100); | 97 | udelay(100); |
98 | } | 98 | } |
99 | return ret; | 99 | return ret; |