aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3-lpm.c
diff options
context:
space:
mode:
authorYannick Guerrini <yguerrini@tomshardware.fr>2015-03-07 07:03:36 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2015-03-26 00:23:17 -0400
commit1318470d7877dbb7168c6edcdc6127912b45f81e (patch)
tree21c1f605c4f1821b10adec5a4c585ed63dacf705 /drivers/ps3/ps3-lpm.c
parente77553cb21adabb7680930e7b20c578cec7ae5a8 (diff)
ps3: Fix trivial typos in comment and debug message
Change 'prosessor' to 'processor' Change 'set_inteval' to 'set_interval' Signed-off-by: Yannick Guerrini <yguerrini@tomshardware.fr> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/ps3/ps3-lpm.c')
-rw-r--r--drivers/ps3/ps3-lpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index b139b7792e9f..cb7d3a67380d 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -105,7 +105,7 @@ struct ps3_lpm_shadow_regs {
105 * @open: An atomic variable indicating the lpm driver has been opened. 105 * @open: An atomic variable indicating the lpm driver has been opened.
106 * @rights: The lpm rigths granted by the system policy module. A logical 106 * @rights: The lpm rigths granted by the system policy module. A logical
107 * OR of enum ps3_lpm_rights. 107 * OR of enum ps3_lpm_rights.
108 * @node_id: The node id of a BE prosessor whose performance monitor this 108 * @node_id: The node id of a BE processor whose performance monitor this
109 * lpar has the right to use. 109 * lpar has the right to use.
110 * @pu_id: The lv1 id of the logical PU. 110 * @pu_id: The lv1 id of the logical PU.
111 * @lpm_id: The lv1 id of this lpm instance. 111 * @lpm_id: The lv1 id of this lpm instance.
@@ -412,7 +412,7 @@ u32 ps3_read_pm(u32 cpu, enum pm_reg_name reg)
412 result = lv1_set_lpm_interval(lpm_priv->lpm_id, 0, 0, &val); 412 result = lv1_set_lpm_interval(lpm_priv->lpm_id, 0, 0, &val);
413 if (result) { 413 if (result) {
414 val = 0; 414 val = 0;
415 dev_dbg(sbd_core(), "%s:%u: lv1 set_inteval failed: " 415 dev_dbg(sbd_core(), "%s:%u: lv1 set_interval failed: "
416 "reg %u, %s\n", __func__, __LINE__, reg, 416 "reg %u, %s\n", __func__, __LINE__, reg,
417 ps3_result(result)); 417 ps3_result(result));
418 } 418 }