]> git.dujemihanovic.xyz Git - u-boot.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)
commit2243d19e5618122d9d7aba23eb51f63f2719dba5
tree04a244e176eee182cddacb7d01c63b296c0d0c37
parent2153a08a24e807f229e492037ed81ca27c2e0c11
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