drivers: Check and fix device const qualifier on ISR

Re-running the script that checks for the const qualifier missing on
struct device ISR's parameter.

The script also changes the parameter 'arg' to 'dev' when relevant.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2022-01-06 11:27:07 +01:00 committed by Carles Cufí
commit 9a18fdea3f
22 changed files with 77 additions and 96 deletions

View file

@ -926,9 +926,8 @@ static void sai_driver_irq(const struct device *dev)
}
/* clear IRQ sources atm */
static void i2s_mcux_isr(void *arg)
static void i2s_mcux_isr(const struct device *dev)
{
const struct device *dev = (const struct device *)arg;
const struct i2s_mcux_config *dev_cfg = dev->config;
I2S_Type *base = (I2S_Type *)dev_cfg->base;