[POWERPC] PS3: Checkpatch cleanups for drivers/ps3/ps3-sys-manager.c
Cleanup coding errors in drivers/ps3/ps3-sys-manager.c as reported by checkpatch. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
ad7d8193e4
commit
eff56c92a1
@@ -452,7 +452,7 @@ static int ps3_sys_manager_handle_event(struct ps3_system_bus_device *dev)
|
|||||||
case PS3_SM_EVENT_THERMAL_ALERT:
|
case PS3_SM_EVENT_THERMAL_ALERT:
|
||||||
dev_dbg(&dev->core, "%s:%d: THERMAL_ALERT (zone %u)\n",
|
dev_dbg(&dev->core, "%s:%d: THERMAL_ALERT (zone %u)\n",
|
||||||
__func__, __LINE__, event.value);
|
__func__, __LINE__, event.value);
|
||||||
printk(KERN_INFO "PS3 Thermal Alert Zone %u\n", event.value);
|
pr_info("PS3 Thermal Alert Zone %u\n", event.value);
|
||||||
break;
|
break;
|
||||||
case PS3_SM_EVENT_THERMAL_CLEARED:
|
case PS3_SM_EVENT_THERMAL_CLEARED:
|
||||||
dev_dbg(&dev->core, "%s:%d: THERMAL_CLEARED (zone %u)\n",
|
dev_dbg(&dev->core, "%s:%d: THERMAL_CLEARED (zone %u)\n",
|
||||||
@@ -589,7 +589,7 @@ static void ps3_sys_manager_final_power_off(struct ps3_system_bus_device *dev)
|
|||||||
PS3_SM_WAKE_DEFAULT);
|
PS3_SM_WAKE_DEFAULT);
|
||||||
ps3_sys_manager_send_request_shutdown(dev);
|
ps3_sys_manager_send_request_shutdown(dev);
|
||||||
|
|
||||||
printk(KERN_EMERG "System Halted, OK to turn off power\n");
|
pr_emerg("System Halted, OK to turn off power\n");
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
ps3_sys_manager_handle_msg(dev);
|
ps3_sys_manager_handle_msg(dev);
|
||||||
@@ -626,7 +626,7 @@ static void ps3_sys_manager_final_restart(struct ps3_system_bus_device *dev)
|
|||||||
PS3_SM_WAKE_DEFAULT);
|
PS3_SM_WAKE_DEFAULT);
|
||||||
ps3_sys_manager_send_request_shutdown(dev);
|
ps3_sys_manager_send_request_shutdown(dev);
|
||||||
|
|
||||||
printk(KERN_EMERG "System Halted, OK to turn off power\n");
|
pr_emerg("System Halted, OK to turn off power\n");
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
ps3_sys_manager_handle_msg(dev);
|
ps3_sys_manager_handle_msg(dev);
|
||||||
|
Reference in New Issue
Block a user