Rpmsg mtd need a way to find the mtd device according to the mtd device path. Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>