• Viresh Kumar's avatar
    ARM/orion/time: Migrate to new 'set-state' interface · 10dca88a
    Viresh Kumar authored
    Migrate orion 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.
    
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Gregory Clement <gregory.clement@free-electrons.com>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    10dca88a
time.c 5.19 KB