]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clockevents/drivers/bcm2835: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 12 Jun 2015 08:00:14 +0000 (13:30 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 6 Aug 2015 10:16:41 +0000 (12:16 +0200)
commit4996978490f7e48f29408e499c7e542ac1e2c5b8
treec9cada168eeb5f4c2c6889155601233aa42ae06b
parente511e6c3cd9baa3177f29aeb30c4ac7150c5f93b
clockevents/drivers/bcm2835: Migrate to new 'set-state' interface

Migrate bcm2835 driver to the new 'set-state' interface provided by
the 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 the ->set_mode() callback. So, this patch
doesn't provide any set-state callbacks.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Lee Jones <lee@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/bcm2835_timer.c