On Tue, 11 Oct 2022 at 23:37, Ovidiu Panait <ovpan...@gmail.com> wrote: > > Align timer uclass with the other subsystems and provide a timer_get_ops() > convenience macro. > > Using this instead of the generic device_get_ops() also prevents > -Wdiscarded-qualifiers warnings when used with non-const variables. > > Signed-off-by: Ovidiu Panait <ovpan...@gmail.com> > --- > > drivers/timer/timer-uclass.c | 2 +- > include/timer.h | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>