mci: core: Use alias as a devname by default
This idiom is repeatead by almost every mci driver, so move it to
mci_of_parse() in order to reduce amount of duplicated code.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b76b1e8 commit 89901703a22c265e1a20934bf15eb113fe550326
@Andrey Smirnov Andrey Smirnov authored on 7 Dec 2018
Sascha Hauer committed on 10 Dec 2018
Showing 1 changed file
View
drivers/mci/mci-core.c