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>
This commit is contained in:

committato da
Ulf Hansson

parent
86b93a4825
commit
01b653c219
@@ -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");
|
||||
|
Fai riferimento in un nuovo problema
Block a user