cs5535-clockevt: Free timer in IRQ setup error path
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>
Thu, 11 Mar 2010 22:04:44 +0000 (14:04 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 12 Mar 2010 21:52:00 +0000 (22:52 +0100)
commitfdb19a6cb48407c59a2007063f4005c9384603c3
tree38dc487713165509698caf428758f8dbd847f476
parent522dba7134d6b2e5821d3457f7941ec34f668e6d
cs5535-clockevt: Free timer in IRQ setup error path

Due to a hardware limitation cs5535_mfgpt_free_timer() cannot actually
release the timer hardware, but it will at least free the now unreferenced
struct associated with it so calling it is the cleaner thing to do.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Andres Salomon <dilinger@collabora.co.uk>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/cs5535-clockevt.c