diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-10-17 03:19:46 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2013-10-21 15:57:51 -0400 |
commit | 3770ee8f95a2aa2da66db460a10898e96eee1b13 (patch) | |
tree | 994189eaf58c00d0089ef49cd8f16cd256ad6b36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d61c0092ca1abe93853d1b8dfeb5525b6cf3ddc (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions