counters: Remove deprecated APIs

Remove support for counter_read and counter_get_max_relative_alarm as
they have been deprecated for at least 2 releases.  As part of the
removal of counter_get_max_relative_alarm remove the code in all
counter drivers that implemented the API.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-03-17 10:28:12 -05:00 committed by Anas Nashif
commit 607469616d
18 changed files with 2 additions and 151 deletions

View file

@ -129,13 +129,6 @@ static inline uint32_t z_vrfy_counter_get_max_top_value(const struct device *dev
}
#include <syscalls/counter_get_max_top_value_mrsh.c>
static inline uint32_t z_vrfy_counter_get_max_relative_alarm(const struct device *dev)
{
Z_OOPS(Z_SYSCALL_DRIVER_COUNTER(dev, get_max_relative_alarm));
return z_impl_counter_get_max_relative_alarm((const struct device *)dev);
}
#include <syscalls/counter_get_max_relative_alarm_mrsh.c>
static inline uint32_t z_vrfy_counter_get_guard_period(const struct device *dev,
uint32_t flags)
{