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)
commit40c935ae3de413d6bbc5471c231c90e26a63d562
treefcfc7b1ef34452cd8ea5438a3ef8c96ddc883d8f
parentb2bb65f680a7b2faa5d6332c02752dca83a49cd6
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