drivers: timer: Explicitly setting argument as unused

Marking as unused (ARG_UNUSED) the parameter device in the
initialization function z_clock_driver_init when it is not used.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2019-07-17 21:32:19 -07:00 committed by Anas Nashif
commit e1e4a402e2
6 changed files with 12 additions and 0 deletions

View file

@ -121,6 +121,8 @@ int z_clock_driver_init(struct device *device)
extern int z_clock_hw_cycles_per_sec;
uint32_t hz;
ARG_UNUSED(device);
DEVICE_MMIO_TOPLEVEL_MAP(hpet_regs, K_MEM_CACHE_NONE);
IRQ_CONNECT(DT_INST_IRQN(0),