commit | 9f103b9cb5f8de4f196b5ef8f6ddb4749cd732ba | [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 | fc69d472621b5c7513bcb8b4e1fe58ca8f5e035a [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>