mmc: sdhci-s3c: Keep a copy of platform data and use it
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 16 Feb 2012 13:23:59 +0000 (22:23 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 5 Apr 2012 23:58:01 +0000 (19:58 -0400)
commit1d4dc338bb7cbbadcb5a527b1b0e897b5cde1701
treefc4eab669f7092f1b0f72b84a2ec2ad17979889f
parent0d22c77089c86416324d0d87e7ef8cfa931e53cd
mmc: sdhci-s3c: Keep a copy of platform data and use it

The platform data is copied into driver's private data and the copy is
used for all access to the platform data. This simpifies the addition
of device tree support for the sdhci-s3c driver.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c