mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-01 13:20:30 +00:00
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
This commit is contained in:
1 parent
0d1c2be9f7
commit
8aca9c7e34
5 files changed
+6
-6
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user