clockevents: export clockevents_unbind_device instead of clockevents_unbind
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 27 Feb 2015 19:25:56 +0000 (11:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:29:05 +0000 (19:29 -0800)
commit32a158325acf12842764b1681f53903673f2f22e
treeaf99f3fbc7e2524331f62e8f726f0f44edec6b77
parente72e7ac583ee8adddbc668cdefde7d7d3021be79
clockevents: export clockevents_unbind_device instead of clockevents_unbind

It looks like clockevents_unbind is being exported by mistake as:
- it is static;
- it is not listed in include/linux/clockchips.h;
- EXPORT_SYMBOL_GPL(clockevents_unbind) follows clockevents_unbind_device()
  implementation.

I think clockevents_unbind_device should be exported instead. This is going to
be used to teardown Hyper-V clockevent devices on module unload.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/time/clockevents.c