• Viresh Kumar's avatar
    ARM/netx/time: Migrate to new 'set-state' interface · c22437b7
    Viresh Kumar authored
    Migrate netx driver to the new 'set-state' interface provided by
    clockevents core, the earlier 'set-mode' interface is marked obsolete
    now.
    
    This also enables us to implement callbacks for new states of clockevent
    devices, for example: ONESHOT_STOPPED.
    
    We aren't writing zero twice on the control register for shutdown or
    resume state now.
    
    Cc: Russell King <linux@arm.linux.org.uk>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    c22437b7
time.c 4.16 KB