Commit ffd01833 authored by Anas Nashif's avatar Anas Nashif
Browse files

clock: z_clock_device_ctrl -> sys_clock_device_ctrl



Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 771cc970
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ int __weak sys_clock_driver_init(const struct device *device)
	return 0;
}

int __weak z_clock_device_ctrl(const struct device *device,
int __weak sys_clock_device_ctrl(const struct device *device,
			       uint32_t ctrl_command,
			       void *context, device_pm_cb cb, void *arg)
{
@@ -49,5 +49,5 @@ void __weak sys_clock_disable(void)
{
}

SYS_DEVICE_DEFINE("sys_clock", sys_clock_driver_init, z_clock_device_ctrl,
SYS_DEVICE_DEFINE("sys_clock", sys_clock_driver_init, sys_clock_device_ctrl,
		PRE_KERNEL_2, CONFIG_SYSTEM_CLOCK_INIT_PRIORITY);