misc: Allow child devices
authorSimon Glass <sjg@chromium.org>
Thu, 27 Dec 2018 20:24:36 +0000 (13:24 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 9 Feb 2019 19:50:22 +0000 (12:50 -0700)
commite5d611671d10f66b992d74d1769a954c90abd287
tree40a6a67c7c597ed4ed2ab8396f3f65eeb6b123a5
parent58804b8cf291c56eee9fbfbfdb7c10e8a238444b
misc: Allow child devices

Allow misc devices to have children, so that we can use this uclass for
cases where a child device (e.g. I2S) needs to access a misc driver for
transferring data.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/misc-uclass.c