2015-07-27 13:49:29

by Rudhresh Kumar J

[permalink] [raw]
Subject: [PATCH] PS3: PS#-LPM: fixed a space coding style issue

Fixed a coding style issue.

Signed-off-by: Rudhresh Kumar J <[email protected]>
---
drivers/ps3/ps3-lpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index cb7d3a6..e34de9a 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -901,7 +901,7 @@ void ps3_disable_pm(u32 cpu)
result = lv1_stop_lpm(lpm_priv->lpm_id, &tmp);

if (result) {
- if(result != LV1_WRONG_STATE)
+ if (result != LV1_WRONG_STATE)
dev_err(sbd_core(), "%s:%u: lv1_stop_lpm failed: %s\n",
__func__, __LINE__, ps3_result(result));
return;
--
1.8.4.5


2015-07-27 18:42:06

by Geoff Levand

[permalink] [raw]
Subject: [PATCH] drivers/ps3: Fix ps3-lpm white space

From: Rudhresh Kumar J <[email protected]>

Fixed a coding style issue.

Signed-off-by: Rudhresh Kumar J <[email protected]>
Signed-off-by: Geoff Levand <[email protected]>
---
Please apply to trivial. Thanks.

-Geoff

drivers/ps3/ps3-lpm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index cb7d3a6..e34de9a 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -901,7 +901,7 @@ void ps3_disable_pm(u32 cpu)
result = lv1_stop_lpm(lpm_priv->lpm_id, &tmp);

if (result) {
- if(result != LV1_WRONG_STATE)
+ if (result != LV1_WRONG_STATE)
dev_err(sbd_core(), "%s:%u: lv1_stop_lpm failed: %s\n",
__func__, __LINE__, ps3_result(result));
return;
--
2.1.0