ubi: Use preditable device names
Instead of naming all ubi devices and cdev names ubi<num> append
'.ubi' to the original mtd name. This makes ubi device and cdev
names predictable. With this ubi0 becomes nand0.root.ubi. Also
do the same for volume names, so ubi0.root becomes nand0.root.ubi.root.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 292c9e6 commit adb3c6359d3514596e980199edbd311ed2d0de5e
@Sascha Hauer Sascha Hauer authored on 26 Jun 2015
Showing 2 changed files
View
drivers/mtd/ubi/build.c
View
drivers/mtd/ubi/cdev.c