MLK-17621-1 mmc: remove the feature of setting slot index via devicetree alias
authorHaibo Chen <haibo.chen@nxp.com>
Sat, 24 Feb 2018 09:32:01 +0000 (17:32 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:45:49 +0000 (18:45 +0800)
commit76daf0a743099aef81b098e09031927daf2c7704
tree16000664f347592b3625c4089fc53d4b003142b6
parentb46671d350a947fd2cf92a229f6e70d921a8e218
MLK-17621-1 mmc: remove the feature of setting slot index via devicetree alias

This patch remove the commit 3d8a438c53f3 ("mmc: Allow setting slot index via
devicetree alias"),which wrongly use the function ida_simple_get(), causing
this function return unexpected result when the reserved alias index value is
not 0.

In the meantime, the 'devidx' in the mmc block layer code just impact the minor
device number, no need to align the minor device number and the slot index.

Here remove upper mentioned patch, and will reform the feature of setting slot
index via devicetree alias in the next few patches.

This patch also remove one other related patch:
commit 82f323ade111 ("MLK-12617 mmc: Fix compile error when CONFIG_MMC=m").

Reported-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
drivers/mmc/core/block.c
drivers/mmc/core/core.c
drivers/mmc/core/host.c
drivers/of/base.c
include/linux/mmc/core.h