drivers: constify all device instances
Run cocci script to constify device instances. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
d75f00a513
commit
16062c2e5a
11 changed files with 14 additions and 14 deletions
|
@ -373,7 +373,7 @@ static void adc_context_update_buffer_pointer(struct adc_context *ctx,
|
|||
|
||||
static void adc_it8xxx2_isr(const void *arg)
|
||||
{
|
||||
struct device *dev = (struct device *)arg;
|
||||
const struct device *dev = (const struct device *)arg;
|
||||
struct adc_it8xxx2_data *data = dev->data;
|
||||
|
||||
LOG_DBG("ADC ISR triggered.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue