]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ieee802154: cc2520: Fix space before , coding style issue
authorMohammad Jamal <md.jamalmohiuddin@gmail.com>
Fri, 23 Jan 2015 13:55:27 +0000 (19:25 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Feb 2015 05:09:35 +0000 (06:09 +0100)
This patch removes the warnings (space before , ) shown by
checkpatch.pl

Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@gmail.com>
Acked-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/cc2520.c

index b38656732ff7b99156c5d0489082d979513b7756..181b349b060ee552dcc5be089c8cf616d7d965b2 100644 (file)
@@ -549,14 +549,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);
        if (ret)
                return ret;