From: Amit Daniel Kachhap Date: Mon, 24 Jun 2013 10:50:39 +0000 (+0530) Subject: thermal: exynos: Add support to handle many instances of TMU X-Git-Tag: v3.12-rc1~45^2~14^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cebe7373a7e659d29e939ed2ce379b478684793c;p=pandora-kernel.git thermal: exynos: Add support to handle many instances of TMU This patch adds support to handle multiple instances of the TMU controllers. This is done by removing the static structure to register with the core thermal and creating it dynamically for each instance of the TMU controller. The interrupt is made shared type to handle shared interrupts. Now since the ISR needs the core thermal framework to be registered so request_irq is moved after the core registration is done. Also the identifier of the TMU controller is extracted from device tree alias. This will be used for TMU specific initialisation. Acked-by: Kukjin Kim Acked-by: Jonghwa Lee Signed-off-by: Amit Daniel Kachhap Acked-by: Eduardo Valentin Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed