Drop \r\n and \n\r as both print_XXX and printk now do this internally.
Only some assembler files still have \r\n ... Can we move that part to C completely? Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
5a1f597085
commit
64ed2b7345
@ -26,7 +26,7 @@ static void adm1027_enable_monitoring(device_t dev)
|
||||
result = smbus_read_byte(dev, ADM1027_REG_CONFIG1);
|
||||
|
||||
if (!(result & CFG1_RDY)) {
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring not ready\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring not ready\n");
|
||||
return;
|
||||
}
|
||||
result = (result | CFG1_STRT);
|
||||
@ -34,9 +34,9 @@ static void adm1027_enable_monitoring(device_t dev)
|
||||
|
||||
result = smbus_read_byte(dev, ADM1027_REG_CONFIG1);
|
||||
if (!(result & CFG1_STRT)) {
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring would not enable\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring would not enable\n");
|
||||
}
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring enabled\r\n");
|
||||
printk(BIOS_DEBUG, "ADM1027: monitoring enabled\n");
|
||||
}
|
||||
|
||||
static void adm1027_init(device_t dev)
|
||||
|
Reference in New Issue
Block a user