summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-of.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2017-11-14 11:52:38 +0300
committerThomas Gleixner <tglx@linutronix.de>2017-11-14 13:20:24 +0300
commit558de28249508dc3ec0ec8981d1315eb8b63f0d9 (patch)
tree0c9f00e225db61fcf1dc0418cb04dcbb5615e015 /drivers/clocksource/timer-of.h
parentd4bfeabe9ff7967f4b8c24aabf2de1ce3a909cd9 (diff)
downloadlinux-558de28249508dc3ec0ec8981d1315eb8b63f0d9.tar.xz
clocksource/timer_of: Rename timer_of_exit to timer_of_cleanup
Change the function name to something more explicit since it is only used in init error cases. Add __init annotation and description about the function usage. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: mark.rutland@arm.com Cc: devicetree@vger.kernel.org Cc: alexandre.torgue@st.com Cc: arnd@arndb.de Cc: julien.thierry@arm.com Cc: daniel.lezcano@linaro.org Cc: linux@armlinux.org.uk Cc: robh+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: mcoquelin.stm32@gmail.com Cc: sudeep.holla@arm.com Cc: ludovic.barre@st.com Link: https://lkml.kernel.org/r/1510649563-22975-2-git-send-email-benjamin.gaignard@linaro.org
Diffstat (limited to 'drivers/clocksource/timer-of.h')
-rw-r--r--drivers/clocksource/timer-of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-of.h b/drivers/clocksource/timer-of.h
index 43f5ba3f8979..3f708f1be43d 100644
--- a/drivers/clocksource/timer-of.h
+++ b/drivers/clocksource/timer-of.h
@@ -68,6 +68,6 @@ static inline unsigned long timer_of_period(struct timer_of *to)
extern int __init timer_of_init(struct device_node *np,
struct timer_of *to);
-extern void timer_of_exit(struct timer_of *to);
+extern void __init timer_of_cleanup(struct timer_of *to);
#endif