clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32
This is another API that is being used in all timer drivers and is not
internal to the clock subsystem. Remove the leading z_ and make promote
it to a cross-subsystem API.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/drivers/timer/native_posix_timer.c b/drivers/timer/native_posix_timer.c
index 65df9a1..1070dcb 100644
--- a/drivers/timer/native_posix_timer.c
+++ b/drivers/timer/native_posix_timer.c
@@ -27,7 +27,7 @@
* Return the current HW cycle counter
* (number of microseconds since boot in 32bits)
*/
-uint32_t z_timer_cycle_get_32(void)
+uint32_t sys_clock_cycle_get_32(void)
{
return hwm_get_time();
}