[PATCH 10/18] ARM/mmp/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate mmp 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 weren't doing anything in set_mode(RESUME)

[PATCH 10/18] ARM/mmp/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate mmp 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 weren't doing anything in set_mode(RESUME)