Skip to content

Commit 3ee0275

Browse files
author
Stefan Schmidt
committed
ieee802154: cc2520: fix some kernel coding style errors
Fix some spacing and needed new line. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Acked-by: Varka Bhadram <varkabhadram@gmail.com> Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
1 parent 16869e4 commit 3ee0275

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ieee802154/cc2520.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ cc2520_set_channel(struct ieee802154_hw *hw, u8 page, u8 channel)
648648
BUG_ON(channel > CC2520_MAXCHANNEL);
649649

650650
ret = cc2520_write_register(priv, CC2520_FREQCTRL,
651-
11 + 5*(channel - 11));
651+
11 + 5 * (channel - 11));
652652

653653
return ret;
654654
}
@@ -929,6 +929,7 @@ static int cc2520_get_platform_data(struct spi_device *spi,
929929

930930
if (!np) {
931931
struct cc2520_platform_data *spi_pdata = spi->dev.platform_data;
932+
932933
if (!spi_pdata)
933934
return -ENOENT;
934935
*pdata = *spi_pdata;

0 commit comments

Comments
 (0)