From: Shawn Guo Date: Thu, 17 Oct 2013 07:19:46 +0000 (+0800) Subject: mmc: sdhci-esdhc-imx: pdev->id_entry should be immutable X-Git-Tag: v3.13-rc1~50^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3770ee8f95a2aa2da66db460a10898e96eee1b13;p=pandora-kernel.git 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 Acked-by: Dong Aisheng Signed-off-by: Chris Ball --- Reading git-diff-tree failed