alistair23-linux/drivers/mmc
Shawn Guo 3770ee8f95 mmc: sdhci-esdhc-imx: pdev->id_entry should be immutable
As a good practice, device driver should not modify pdev->id_entry but
keep it immutable.  Let's assign of_device_id.data with imx_esdhc_type
constants directly, so that we do not have to manipulate pdev->id_entry
in .probe().

As the result, sdhci-esdhc-imx53 and sdhci-usdhc-imx6q can be removed
from platform_device_id table now, since they will only probe from
device tree.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-10-21 15:57:51 -04:00
..
card mmc: fix null pointer use in mmc_blk_remove_req 2013-08-24 23:22:04 -04:00
core mmc: core: clean up duplicate macros 2013-09-25 21:51:52 -04:00
host mmc: sdhci-esdhc-imx: pdev->id_entry should be immutable 2013-10-21 15:57:51 -04:00
Kconfig
Makefile