diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-06-18 16:24:24 +0530 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-08-10 11:40:31 +0200 |
commit | 3f583d01d796f7b9fda0203b134585ca06a242ad (patch) | |
tree | 62c860a19ea8d70f08ffb8cdcf4e90444fcc9540 /lib/ucs2_string.c | |
parent | 40117bd559d3119eb06206f5323680d712db7775 (diff) |
clockevents/drivers/metag_generic: Migrate to new 'set-state' interface
Migrate metag_generic 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. Even the WARN()
for periodic or unused modes isn't required anymore as the core is
taking care of that now. So, this patch doesn't provide any set-state
callbacks.
Cc: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions