• Viresh Kumar's avatar
    alpha/time: Migrate to new 'set-state' interface · 6ec81932
    Viresh Kumar authored
    Migrate alpha 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.
    
    rtc clockevent device wasn't doing anything in set-mode and so its
    set-state callbacks aren't implemented.
    
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Matt Turner <mattst88@gmail.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: linux-alpha@vger.kernel.org
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    6ec81932
time.c 11.7 KB