mmc: sdhci-pxav3: enhance device tree parser code
authorKevin Liu <kliu5@marvell.com>
Mon, 25 Mar 2013 09:42:58 +0000 (17:42 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 4 Apr 2013 13:59:12 +0000 (09:59 -0400)
commit943647f6fe3aa7217d13cacac830c88455a88326
tree40f16214e8f69e4470b60a577bda182a44607649
parentc844a46f135e493ffda0bd770e16f6c3dd6c7eb7
mmc: sdhci-pxav3: enhance device tree parser code

1. seperate device tree parsing from platform data handling which
   can make further work easy when platform data can be removed.

2. add calling mmc_of_parse which can parse more of property and
   pxav3_get_mmc_pdata can be shrinked a lot.

Signed-off-by: Kevin Liu <kliu5@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pxav3.c