mmc: sdhci-of-arasan: Add a single data structure to incorporate pdata and soc_ctl_map
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 4 Oct 2018 11:14:49 +0000 (16:44 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Oct 2018 06:59:25 +0000 (08:59 +0200)
commit06b23ca021c425bb828a66b68704efe5febadb2a
treeb996688cf87756572ac099b64896a7044039cf8a
parent26a4f38d1316ddef05d50e5c205057385187a7e4
mmc: sdhci-of-arasan: Add a single data structure to incorporate pdata and soc_ctl_map

Currently, the driver passes platform data as a global structure
and uses the .data of of_device_id to pass the soc_ctl_map. To
make the implementation more flexible add a single data structure
that incorporates both of the above and pass it in the .data of
of_device_id.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c