Commit 395cef42 authored by Stefan Schmidt's avatar Stefan Schmidt

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: default avatarStefan Schmidt <stefan@osg.samsung.com>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
parent 0be7fc7e
...@@ -311,8 +311,8 @@ static int adf7242_status(struct adf7242_local *lp, u8 *stat) ...@@ -311,8 +311,8 @@ static int adf7242_status(struct adf7242_local *lp, u8 *stat)
return status; return status;
} }
static int adf7242_wait_status(struct adf7242_local *lp, unsigned status, static int adf7242_wait_status(struct adf7242_local *lp, unsigned int status,
unsigned mask, int line) unsigned int mask, int line)
{ {
int cnt = 0, ret = 0; int cnt = 0, ret = 0;
u8 stat; u8 stat;
...@@ -477,7 +477,7 @@ static int adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data) ...@@ -477,7 +477,7 @@ static int adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data)
return status; return status;
} }
static int adf7242_cmd(struct adf7242_local *lp, unsigned cmd) static int adf7242_cmd(struct adf7242_local *lp, unsigned int cmd)
{ {
int status; int status;
...@@ -920,7 +920,7 @@ static void adf7242_debug(u8 irq1) ...@@ -920,7 +920,7 @@ static void adf7242_debug(u8 irq1)
static irqreturn_t adf7242_isr(int irq, void *data) static irqreturn_t adf7242_isr(int irq, void *data)
{ {
struct adf7242_local *lp = data; struct adf7242_local *lp = data;
unsigned xmit; unsigned int xmit;
u8 irq1; u8 irq1;
adf7242_wait_status(lp, RC_STATUS_PHY_RDY, RC_STATUS_MASK, __LINE__); adf7242_wait_status(lp, RC_STATUS_PHY_RDY, RC_STATUS_MASK, __LINE__);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment