powerpc/mpc52xx: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 08:32:24 +0000 (08:32 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 3 Dec 2012 21:13:33 +0000 (22:13 +0100)
commit6c27b20395d21235b73771a2bcf5325ece94c4c8
tree7bae5421b4547b7950f00f5fa89ffa531b470ab1
parentb69f0859dc8e633c5d8c06845811588fe17e68b3
powerpc/mpc52xx: 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: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c