From: Thomas Gleixner Date: Sat, 5 Feb 2011 10:46:32 +0000 (+0000) Subject: platform-drivers: x86: pmic: Use irq_chip buslock mechanism X-Git-Tag: v2.6.38-rc6~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b7de612d193e1c8fdeee9902e5a582e746dfe9;p=pandora-kernel.git platform-drivers: x86: pmic: Use irq_chip buslock mechanism The set_type function of the pmic irq chip is a horrible hack. It schedules work because it cannot access the scu chip from the set_type function. That breaks the assumption, that the type is set after set_type has returned. irq_chips provide buslock functions to avoid the above. Convert the driver to use the proper model. Signed-off-by: Thomas Gleixner Cc: Feng Tang Cc: Matthew Garrett Cc: Alan Cox Cc: Alek Du Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed