[PATCH 06/18] ARM/imx/epit: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate imx 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. Also drop 'clockevent_mode': It was caching

[PATCH 06/18] ARM/imx/epit: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate imx 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. Also drop 'clockevent_mode': It was caching