]> git.karo-electronics.de Git - linux-beck.git/commit
ARM/lpc32xx/timer: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 27 Feb 2015 08:09:52 +0000 (13:39 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 17 Jul 2015 02:56:12 +0000 (08:26 +0530)
commit9325a3a896b611454f6ab3dcedf69c5799dd5617
tree102ca7254c043717a9091223007d0c29ff919ff1
parent7cfa3c69ca97acfd7cac19652d82aa610015bab8
ARM/lpc32xx/timer: Migrate to new 'set-state' interface

Migrate lpc32xx 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: Roland Stigge <stigge@antcom.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/mach-lpc32xx/timer.c