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

@ -125,9 +125,8 @@ static int entropy_cc13xx_cc26xx_get_entropy(const struct device *dev,
return 0;
}
static void entropy_cc13xx_cc26xx_isr(const void *arg)
static void entropy_cc13xx_cc26xx_isr(const struct device *dev)
{
const struct device *dev = arg;
struct entropy_cc13xx_cc26xx_data *data = dev->data;
uint32_t src = 0;
uint32_t cnt;