]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: mmc-uclass: Use dev_seq() to read aliases node's index
authorAswath Govindraju <a-govindraju@ti.com>
Thu, 25 Mar 2021 07:18:48 +0000 (12:48 +0530)
committerPeng Fan <peng.fan@nxp.com>
Tue, 6 Apr 2021 10:36:39 +0000 (18:36 +0800)
commit7f1f4bf3fb27df7acbc4e2928dd308718a30b8e3
tree04a244e176eee182cddacb7d01c63b296c0d0c37
parentaa16ab510f125743d160cb29cbfa2d109819c14d
mmc: mmc-uclass: Use dev_seq() to read aliases node's index

Use dev_seq() to read aliases node's index and pass it as device number
for creating bulk device.

Suggested-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc-uclass.c