drivers: device: do not reuse tag name 'device'
Do not reuse tag name (misra rule 5.7). Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a86505b450
commit
5d6c219210
47 changed files with 118 additions and 117 deletions
|
@ -213,11 +213,11 @@ uint32_t sys_clock_cycle_get_32(void)
|
|||
|
||||
#endif
|
||||
|
||||
int sys_clock_driver_init(const struct device *device)
|
||||
int sys_clock_driver_init(const struct device *dev)
|
||||
{
|
||||
uint32_t val;
|
||||
|
||||
ARG_UNUSED(device);
|
||||
ARG_UNUSED(dev);
|
||||
|
||||
val = x86_read_loapic(LOAPIC_TIMER_CONFIG); /* set divider */
|
||||
val &= ~DCR_DIVIDER_MASK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue