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>
Sun, 1 Apr 2012 03:30:42 +0000 (23:30 -0400)
commit5c9250e7d7a9e8aef26aaf1dadfb05ef96adea97
treefc4eab669f7092f1b0f72b84a2ec2ad17979889f
parentb552ae5b81d768e3be34f6eda7c098dc1d5ecf83
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>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/mmc/host/sdhci-s3c.c