drivers/hv: Migrate to new 'set-state' interface
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 5 Aug 2015 07:52:41 +0000 (00:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:44:29 +0000 (11:44 -0700)
commitbc609cb47fb2e74654e23cef0a1d4db38b6570a3
tree64cc0d29522eb5d40466bc16d35f50826e51ccaf
parenta5cca686ce0ef4909deaee4ed46dd991e3a9ece4
drivers/hv: Migrate to new 'set-state' interface

Migrate hv 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: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: devel@linuxdriverproject.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c