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:
Johann Fischer
2022-07-13 16:50:25 +02:00
committed by Mahesh Mahadevan
parent c225cf3b8a
commit 5e5ea9a21d
21 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ static int notify_callback_set(const struct device *dev,
edac_notify_callback_f cb)
{
struct ibecc_data *data = dev->data;
int key = irq_lock();
unsigned int key = irq_lock();
data->cb = cb;
irq_unlock(key);