ieee802154: cc2520: Fix space before , coding style issue
PATCH 1/1 ieee802154: cc2520: Fix space before , coding style issue
This patch removes the warnings (space before , ) shown by checkpatch.pl
Signed-off-by Mohammad Jamal <[email protected]>
--- drivers/net/ieee802154/cc2520.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ieee802154/cc2520.c +2 -2
@@ -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;
Signature · 1 line
1.7.9.5
Hi Jamal,
Quoted 2 lines · Mohammad Jamal
This patch removes the warnings (space before , ) shown by checkpatch.pl
Thanks for the patch.
Acked-by Varka Bhadram <[email protected]>
Quoted 27 lines
Signed-off-by Mohammad Jamal <[email protected]>--- drivers/net/ieee802154/cc2520.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/ieee802154/cc2520.c +2
-2@@ -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;
Signature · 2 lines
Thanks and Regards, Varka Bhadram.
Hi Mohammad,
Quoted 7 lines
This patch removes the warnings (space before , ) shown by checkpatch.pl
Signed-off-by Mohammad Jamal <[email protected]>---
drivers/net/ieee802154/cc2520.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel