Thread (4 messages) flat view 4 messages, 3 authors, 2015-01-23

Re: [PATCH] net: ieee802154: cc2520: Fix coding style issues

From: Sergei Shtylyov <hidden>
Date: 2015-01-23 12:37:52
Also in: lkml

Hello.

On 1/23/2015 12:26 PM, Mohammad Jamal wrote:
This patch solves the coding style issues such as space after ,
    s/after/before/?
and removes the blank lines
   Extra blank lines, you mean?
Signed-off-by: Mohammad Jamal <redacted>
---
  drivers/net/ieee802154/cc2520.c |    6 ++----
  1 file changed, 2 insertions(+), 4 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
index f9df9fa..dd129be 100644
--- a/drivers/net/ieee802154/cc2520.c
+++ b/drivers/net/ieee802154/cc2520.c
[...]
quoted hunk ↗ jump to hunk
@@ -551,14 +550,14 @@ cc2520_ed(struct ieee802154_hw *hw, u8 *level)
  	u8 rssi;
  	int ret;

-	ret = cc2520_read_register(priv , CC2520_RSSISTAT, &status);
+	ret = cc2520_read_register(priv, CC2520_RSSISTAT, &status);
  	if (ret)
  		return ret;

  	if (status != RSSI_VALID)
  		return -EINVAL;

-	ret = cc2520_read_register(priv , CC2520_RSSI, &rssi);
+	ret = cc2520_read_register(priv, CC2520_RSSI, &rssi);
[...]

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help