diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2014-12-12 06:45:29 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-12-18 18:19:24 -0500 |
commit | e80fb5eea3fc0631624c71bf604d5b6244379d40 (patch) | |
tree | 52ff9b7bd9067b5185a7d727cd283ec222d63e42 /drivers/net/ieee802154/at86rf230.c | |
parent | ca28849d01cc72876b1c5183c7fbef4ee8f2133b (diff) |
ieee802154/at86rf230: Align to opening parenthesis
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/at86rf230.c')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 318bc4b001e4..3523d9e63f21 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1080,7 +1080,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_hw *hw, | |||
1080 | u16 addr = le16_to_cpu(filt->short_addr); | 1080 | u16 addr = le16_to_cpu(filt->short_addr); |
1081 | 1081 | ||
1082 | dev_vdbg(&lp->spi->dev, | 1082 | dev_vdbg(&lp->spi->dev, |
1083 | "at86rf230_set_hw_addr_filt called for saddr\n"); | 1083 | "at86rf230_set_hw_addr_filt called for saddr\n"); |
1084 | __at86rf230_write(lp, RG_SHORT_ADDR_0, addr); | 1084 | __at86rf230_write(lp, RG_SHORT_ADDR_0, addr); |
1085 | __at86rf230_write(lp, RG_SHORT_ADDR_1, addr >> 8); | 1085 | __at86rf230_write(lp, RG_SHORT_ADDR_1, addr >> 8); |
1086 | } | 1086 | } |
@@ -1089,7 +1089,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_hw *hw, | |||
1089 | u16 pan = le16_to_cpu(filt->pan_id); | 1089 | u16 pan = le16_to_cpu(filt->pan_id); |
1090 | 1090 | ||
1091 | dev_vdbg(&lp->spi->dev, | 1091 | dev_vdbg(&lp->spi->dev, |
1092 | "at86rf230_set_hw_addr_filt called for pan id\n"); | 1092 | "at86rf230_set_hw_addr_filt called for pan id\n"); |
1093 | __at86rf230_write(lp, RG_PAN_ID_0, pan); | 1093 | __at86rf230_write(lp, RG_PAN_ID_0, pan); |
1094 | __at86rf230_write(lp, RG_PAN_ID_1, pan >> 8); | 1094 | __at86rf230_write(lp, RG_PAN_ID_1, pan >> 8); |
1095 | } | 1095 | } |
@@ -1099,14 +1099,14 @@ at86rf230_set_hw_addr_filt(struct ieee802154_hw *hw, | |||
1099 | 1099 | ||
1100 | memcpy(addr, &filt->ieee_addr, 8); | 1100 | memcpy(addr, &filt->ieee_addr, 8); |
1101 | dev_vdbg(&lp->spi->dev, | 1101 | dev_vdbg(&lp->spi->dev, |
1102 | "at86rf230_set_hw_addr_filt called for IEEE addr\n"); | 1102 | "at86rf230_set_hw_addr_filt called for IEEE addr\n"); |
1103 | for (i = 0; i < 8; i++) | 1103 | for (i = 0; i < 8; i++) |
1104 | __at86rf230_write(lp, RG_IEEE_ADDR_0 + i, addr[i]); | 1104 | __at86rf230_write(lp, RG_IEEE_ADDR_0 + i, addr[i]); |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | if (changed & IEEE802154_AFILT_PANC_CHANGED) { | 1107 | if (changed & IEEE802154_AFILT_PANC_CHANGED) { |
1108 | dev_vdbg(&lp->spi->dev, | 1108 | dev_vdbg(&lp->spi->dev, |
1109 | "at86rf230_set_hw_addr_filt called for panc change\n"); | 1109 | "at86rf230_set_hw_addr_filt called for panc change\n"); |
1110 | if (filt->pan_coord) | 1110 | if (filt->pan_coord) |
1111 | at86rf230_write_subreg(lp, SR_AACK_I_AM_COORD, 1); | 1111 | at86rf230_write_subreg(lp, SR_AACK_I_AM_COORD, 1); |
1112 | else | 1112 | else |