drivers: gpio_intel_apl: remove inappropriate assignment of API pointer
This is set when the device is defined, and should not be modified. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
c42297c2f1
commit
3cb335d0df
1 changed files with 0 additions and 2 deletions
|
@ -585,8 +585,6 @@ int gpio_intel_apl_init(struct device *dev)
|
||||||
sys_bitfield_clear_bit(cfg->reg_base + REG_MISCCFG,
|
sys_bitfield_clear_bit(cfg->reg_base + REG_MISCCFG,
|
||||||
MISCCFG_IRQ_ROUTE_POS);
|
MISCCFG_IRQ_ROUTE_POS);
|
||||||
|
|
||||||
dev->driver_api = &gpio_intel_apl_api;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue