aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2018-02-23 15:41:34 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2018-03-15 09:27:11 +0100
commit01b653c2199b55ea798f9b4e224d055317524d8f (patch)
treec63e989815a01d3542ae54a334c3c6c2f2a69857 /drivers/mmc/host/dw_mmc.c
parentmmc: dw_mmc: remove the deprecated "clock-freq-min-max" property (diff)
downloadlinux-dev-01b653c2199b55ea798f9b4e224d055317524d8f.tar.xz
linux-dev-01b653c2199b55ea798f9b4e224d055317524d8f.zip
mmc: dw_mmc: remove the deprecated "num-slots"
'num-slots' property had already deprecated. Remove the 'nom-slots' property that is kept to maintain the compatibility. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r--drivers/mmc/host/dw_mmc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index b07135e6f74f..e7de83805e60 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -3126,10 +3126,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
return ERR_PTR(-EPROBE_DEFER);
}
- /* find out number of slots supported */
- if (!device_property_read_u32(dev, "num-slots", &pdata->num_slots))
- dev_info(dev, "'num-slots' was deprecated.\n");
-
if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth))
dev_info(dev,
"fifo-depth property not found, using value of FIFOTH register as default\n");