Skip to content

Commit 395cef4

Browse files
author
Stefan Schmidt
committed
ieee802154: adf7242: use unsigned int over only unsigned
Bring it in line with the rest of the ieee802154 drivers. Found by checkpatch. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
1 parent 0be7fc7 commit 395cef4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/net/ieee802154/adf7242.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ static int adf7242_status(struct adf7242_local *lp, u8 *stat)
311311
return status;
312312
}
313313

314-
static int adf7242_wait_status(struct adf7242_local *lp, unsigned status,
315-
unsigned mask, int line)
314+
static int adf7242_wait_status(struct adf7242_local *lp, unsigned int status,
315+
unsigned int mask, int line)
316316
{
317317
int cnt = 0, ret = 0;
318318
u8 stat;
@@ -477,7 +477,7 @@ static int adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data)
477477
return status;
478478
}
479479

480-
static int adf7242_cmd(struct adf7242_local *lp, unsigned cmd)
480+
static int adf7242_cmd(struct adf7242_local *lp, unsigned int cmd)
481481
{
482482
int status;
483483

@@ -920,7 +920,7 @@ static void adf7242_debug(u8 irq1)
920920
static irqreturn_t adf7242_isr(int irq, void *data)
921921
{
922922
struct adf7242_local *lp = data;
923-
unsigned xmit;
923+
unsigned int xmit;
924924
u8 irq1;
925925

926926
adf7242_wait_status(lp, RC_STATUS_PHY_RDY, RC_STATUS_MASK, __LINE__);

0 commit comments

Comments
 (0)