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:
parent
521c9d13fb
commit
9a18fdea3f
22 changed files with 77 additions and 96 deletions
|
@ -115,9 +115,8 @@ static int mcux_wdog_feed(const struct device *dev, int channel_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void mcux_wdog_isr(void *arg)
|
||||
static void mcux_wdog_isr(const struct device *dev)
|
||||
{
|
||||
const struct device *dev = (const struct device *)arg;
|
||||
const struct mcux_wdog_config *config = dev->config;
|
||||
struct mcux_wdog_data *data = dev->data;
|
||||
WDOG_Type *base = config->base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue