aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDong Aisheng <[email protected]>2015-07-22 12:53:06 +0000
committerUlf Hansson <[email protected]>2015-07-24 08:18:37 +0000
commit91fa4252878afccc9e75edd84f31047899ddd1b7 (patch)
tree26dcb6e025d5b628874d416bae96a84566457d35 /net/switchdev/switchdev.c
parentmmc: sdhci-esdhc-imx: fix cd regression for dt platform (diff)
downloadkernel-91fa4252878afccc9e75edd84f31047899ddd1b7.tar.gz
kernel-91fa4252878afccc9e75edd84f31047899ddd1b7.zip
mmc: sdhci-esdhc-imx: move all non dt probe code into one function
This is an incremental fix of commit e62bd351b("mmc: sdhci-esdhc-imx: Do not break platform data boards"). After commit 8d86e4fcccf6 ("mmc: sdhci-esdhc-imx: Call mmc_of_parse()"), we do not need to run the check of boarddata->wp_type/cd_type/max_bus_width again for dt platform since those are already handled by mmc_of_parse(). Current code only exclude the checking of wp_type for dt platform which does not make sense. This patch moves all non dt probe code into one function. Besides, since we only support SD3.0/eMMC HS200 for dt platform, the support_vsel checking and ultra high speed pinctrl state are also merged into sdhci_esdhc_imx_probe_dt. Then we have two separately probe function for dt and non dt type. This can make the driver probe more clearly. Signed-off-by: Dong Aisheng <[email protected]> Reviewed-by: Johan Derycke <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions