clockevents/drivers/clps711x: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 18 Jun 2015 10:54:17 +0000 (16:24 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 10 Aug 2015 09:40:27 +0000 (11:40 +0200)
commitbd88420c589afc0c58542a5d1953637ef2fa64e4
tree8c61733e0d4ad77ef779b83e5cdf34488150926e
parent5c0a4bbefc0571ba3addb39da0eb53368c018b64
clockevents/drivers/clps711x: Migrate to new 'set-state' interface

Migrate clps711x 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 the ->set_mode() callback. So, this patch
doesn't provide any set-state callbacks.

Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/clps711x-timer.c