mrf24j40: fix Missing a blank line after declarations
Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alan Ott <alan@signal11.us> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
d41c15cf95
commit
529160dc73
|
@ -412,6 +412,7 @@ static void mrf24j40_stop(struct ieee802154_dev *dev)
|
||||||
struct mrf24j40 *devrec = dev->priv;
|
struct mrf24j40 *devrec = dev->priv;
|
||||||
u8 val;
|
u8 val;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
dev_dbg(printdev(devrec), "stop\n");
|
dev_dbg(printdev(devrec), "stop\n");
|
||||||
|
|
||||||
ret = read_short_reg(devrec, REG_INTCON, &val);
|
ret = read_short_reg(devrec, REG_INTCON, &val);
|
||||||
|
@ -465,6 +466,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,
|
||||||
if (changed & IEEE802515_AFILT_SADDR_CHANGED) {
|
if (changed & IEEE802515_AFILT_SADDR_CHANGED) {
|
||||||
/* Short Addr */
|
/* Short Addr */
|
||||||
u8 addrh, addrl;
|
u8 addrh, addrl;
|
||||||
|
|
||||||
addrh = le16_to_cpu(filt->short_addr) >> 8 & 0xff;
|
addrh = le16_to_cpu(filt->short_addr) >> 8 & 0xff;
|
||||||
addrl = le16_to_cpu(filt->short_addr) & 0xff;
|
addrl = le16_to_cpu(filt->short_addr) & 0xff;
|
||||||
|
|
||||||
|
@ -493,6 +495,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,
|
||||||
if (changed & IEEE802515_AFILT_PANID_CHANGED) {
|
if (changed & IEEE802515_AFILT_PANID_CHANGED) {
|
||||||
/* PAN ID */
|
/* PAN ID */
|
||||||
u8 panidl, panidh;
|
u8 panidl, panidh;
|
||||||
|
|
||||||
panidh = le16_to_cpu(filt->pan_id) >> 8 & 0xff;
|
panidh = le16_to_cpu(filt->pan_id) >> 8 & 0xff;
|
||||||
panidl = le16_to_cpu(filt->pan_id) & 0xff;
|
panidl = le16_to_cpu(filt->pan_id) & 0xff;
|
||||||
write_short_reg(devrec, REG_PANIDH, panidh);
|
write_short_reg(devrec, REG_PANIDH, panidh);
|
||||||
|
|
Loading…
Reference in New Issue