drivers: use unsigned int for irq_lock()
irq_lock() returns an unsigned integer key. Generated by spatch using semantic patch scripts/coccinelle/irq_lock.cocci Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
parent
c225cf3b8a
commit
5e5ea9a21d
21 changed files with 65 additions and 65 deletions
|
@ -35,7 +35,7 @@ const int32_t z_sys_timer_irq_for_test = TIMER_IRQ;
|
|||
|
||||
static void litex_timer_irq_handler(const void *device)
|
||||
{
|
||||
int key = irq_lock();
|
||||
unsigned int key = irq_lock();
|
||||
|
||||
litex_write8(TIMER_EV, TIMER_EV_PENDING_ADDR);
|
||||
sys_clock_announce(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue