From 8aca9c7e34dd753e02f0ae2baf5af1b0bf057c97 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 23 Jun 2005 20:56:13 +0000 Subject: [PATCH] Strip useless whitespace before new line at end of string. Backport from a Linux 2.6 patch from Denis Vlasenko. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3024 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-amd756.c | 2 +- kernel/busses/i2c-i801.c | 4 ++-- kernel/busses/i2c-piix4.c | 2 +- kernel/busses/i2c-sis5595.c | 2 +- kernel/chips/bmcsensors.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/busses/i2c-amd756.c b/kernel/busses/i2c-amd756.c index ebdbaf5a..e436fc41 100644 --- a/kernel/busses/i2c-amd756.c +++ b/kernel/busses/i2c-amd756.c @@ -127,7 +127,7 @@ static int amd756_transaction(void) /* Make sure the SMBus host is ready to start transmitting */ if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) { - pr_debug(DRV_NAME ": SMBus busy (%04x). Waiting... \n", temp); + pr_debug(DRV_NAME ": SMBus busy (%04x). Waiting...\n", temp); do { i2c_delay(1); temp = inw_p(SMB_GLOBAL_STATUS); diff --git a/kernel/busses/i2c-i801.c b/kernel/busses/i2c-i801.c index 03cb329e..87140acb 100644 --- a/kernel/busses/i2c-i801.c +++ b/kernel/busses/i2c-i801.c @@ -239,7 +239,7 @@ static int i801_transaction(void) /* Make sure the SMBus host is ready to start transmitting */ /* 0x1f = Failed, Bus_Err, Dev_Err, Intr, Host_Busy */ if ((temp = (0x1f & inb_p(SMBHSTSTS))) != 0x00) { - dev_dbg(I801_dev, "SMBus busy (%02x). Resetting... \n", + dev_dbg(I801_dev, "SMBus busy (%02x). Resetting...\n", temp); outb_p(temp, SMBHSTSTS); if ((temp = (0x1f & inb_p(SMBHSTSTS))) != 0x00) { @@ -363,7 +363,7 @@ static int i801_block_transaction(union i2c_smbus_data *data, char read_write, } if (temp & errmask) { dev_dbg(I801_dev, "SMBus busy (%02x). " - "Resetting... \n", temp); + "Resetting...\n", temp); outb_p(temp, SMBHSTSTS); if (((temp = inb_p(SMBHSTSTS)) & errmask) != 0x00) { dev_err(I801_dev, diff --git a/kernel/busses/i2c-piix4.c b/kernel/busses/i2c-piix4.c index 85fb33e3..22677894 100644 --- a/kernel/busses/i2c-piix4.c +++ b/kernel/busses/i2c-piix4.c @@ -254,7 +254,7 @@ int piix4_transaction(void) /* Make sure the SMBus host is ready to start transmitting */ if ((temp = inb_p(SMBHSTSTS)) != 0x00) { #ifdef DEBUG - printk(KERN_DEBUG "i2c-piix4.o: SMBus busy (%02x). Resetting... \n", + printk(KERN_DEBUG "i2c-piix4.o: SMBus busy (%02x). Resetting...\n", temp); #endif outb_p(temp, SMBHSTSTS); diff --git a/kernel/busses/i2c-sis5595.c b/kernel/busses/i2c-sis5595.c index c971bbbd..93a703ee 100644 --- a/kernel/busses/i2c-sis5595.c +++ b/kernel/busses/i2c-sis5595.c @@ -241,7 +241,7 @@ int sis5595_transaction(void) sis5595_read(SMB_STS_LO) + (sis5595_read(SMB_STS_HI) << 8)) != 0x00) { #ifdef DEBUG - printk("i2c-sis5595.o: SMBus busy (%04x). Resetting... \n", + printk("i2c-sis5595.o: SMBus busy (%04x). Resetting...\n", temp); #endif sis5595_write(SMB_STS_LO, temp & 0xff); diff --git a/kernel/chips/bmcsensors.c b/kernel/chips/bmcsensors.c index 3778f249..78669ebe 100644 --- a/kernel/chips/bmcsensors.c +++ b/kernel/chips/bmcsensors.c @@ -506,7 +506,7 @@ static int bmcsensors_rcv_sdr_msg(struct ipmi_msg *msg, int state) } nextrecord = (data[2] << 8) | data[1]; - /* printk(KERN_INFO "bmcsensors.o: nextrecord %d \n", nextrecord); */ + /* printk(KERN_INFO "bmcsensors.o: nextrecord %d\n", nextrecord); */ type = data[6];