With driver model we cannot pass in the global struct, but instead want to pass in the driver-private data. Split some of the code out of wm8994_init() to handle this.
Signed-off-by: Simon Glass <[email protected]> --- drivers/sound/wm8994.c | 56 +++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 23 deletions(-) Applied to u-boot-dm/master _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

