]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/sysdev: Use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 08:32:30 +0000 (08:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 02:00:05 +0000 (13:00 +1100)
commit01eec3af613d135c08c27ffaaef35332f995c6a6
treefcfc7b1ef34452cd8ea5438a3ef8c96ddc883d8f
parent6e1c6e5f320a978c31edf9237f906f2f4d368271
powerpc/sysdev: Use module_platform_driver macro

This patch removes some code duplication by using
module_platform_driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/pmi.c