commit | 4f2691345c657a8948bf782886e0f32ff6dc708e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat May 27 11:37:17 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Fri Jun 09 20:25:16 2017 +0900 |
tree | a4f8dd89d5ec45049c7bc0c389ce59835e1bcb23 | |
parent | 6417a737b8b563c29d7ab8bd059a85a550610f99 [diff] |
dm: blk: Add a way to obtain a block device from its parent Many devices support a child block device (e.g. MMC, USB). Add a convenient way to get this device given the parent device. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>